ISitePages Method (Int32, Int32, Int32) Ingeniux CMS Content Store API

Retrieves the collection of all Pages, in a paginated fashion.

Namespace: Ingeniux.CMS
Assembly: Ingeniux.CMS.CSAPI (in Ingeniux.CMS.CSAPI.dll) Version: 9.0.565.0 (9.0.565)
Syntax

IEnumerable<IPage> Pages(
	out int count,
	int pageSize = -1,
	int startIndex = -1
)

Parameters

count
Type: SystemInt32
Outputs total count of entries
pageSize (Optional)
Type: SystemInt32
Number of entries to return. If not provided, returns all entries.
startIndex (Optional)
Type: SystemInt32
Starting index of entries. If not provided, starts from the first entry.

Return Value

Type: IEnumerableIPage
Collection of Pages
Remarks

Pages are returned in the order they were created. This doesn't necessarily mean it will always start with smallest XID, especially for content migrated from Version 8.

See Also

Reference