ISitePagesHistoryByKeywords Method (String, Int32, Boolean, Int32, Int32)
|
Retrieves a collection of
Page Versions by keywords in the Pages'
Name,
and any text/xhtml field values, in a paginated fashion.
This search covers the entire existing history of the
Pages.
Namespace:
Ingeniux.CMS
Assembly:
Ingeniux.CMS.CSAPI (in Ingeniux.CMS.CSAPI.dll) Version: 10.3.169
Syntax IEnumerable<IPageVersion> PagesHistoryByKeywords(
string keywords,
out int count,
bool includeRecycledPages = false,
int startIndex = -1,
int pageSize = -1
)
Function PagesHistoryByKeywords (
keywords As String,
<OutAttribute> ByRef count As Integer,
Optional includeRecycledPages As Boolean = false,
Optional startIndex As Integer = -1,
Optional pageSize As Integer = -1
) As IEnumerable(Of IPageVersion)
IEnumerable<IPageVersion^>^ PagesHistoryByKeywords(
String^ keywords,
[OutAttribute] int% count,
bool includeRecycledPages = false,
int startIndex = -1,
int pageSize = -1
)
abstract PagesHistoryByKeywords :
keywords : string *
count : int byref *
?includeRecycledPages : bool *
?startIndex : int *
?pageSize : int
(* Defaults:
let _includeRecycledPages = defaultArg includeRecycledPages false
let _startIndex = defaultArg startIndex -1
let _pageSize = defaultArg pageSize -1
*)
-> IEnumerable<IPageVersion>
Parameters
- keywords
- Type: SystemString
The keyword to search for - count
- Type: SystemInt32
Count of total entries - includeRecycledPages (Optional)
- Type: SystemBoolean
Whether to include Removed Pages in the collection. - startIndex (Optional)
- Type: SystemInt32
Starting index of entries. If not provided, starts from the first entry. - pageSize (Optional)
- Type: SystemInt32
Number of entries to return. If not provided, returns all entries.
Return Value
Type:
IEnumerableIPageVersionCollection of
Pages that contains the searching keyword in its
Name or any text/xhtml fields.
Remarks
The method call pulls results from a Full-Text index created on the Content Store. Due to the full text nature of the index, you will immediately have the results, but it may not
always 100% up-to-date on the latest changes.
See Also