Retrieves the children for a specific page. The base class implementation will check for the list of references in the cache. If not found it will call GetChildrenReferences(PageReference, String). It will then try to load the pages from cache. For those pages not found in cache it will call GetPages(PageReferenceCollection, ILanguageSelector).

Namespace:  EPiServer.Core
Assembly:  EPiServer (in EPiServer.dll) Version: 5.2.375.236

Syntax

C#
public PageDataCollection GetChildren(
	PageReference pageLink,
	ILanguageSelector selector,
	int startIndex,
	int maxRows
)

Parameters

pageLink
Type: EPiServer.Core..::.PageReference
List children of this page
selector
Type: EPiServer.Core..::.ILanguageSelector
Select language for page
startIndex
Type: System..::.Int32
start index if indexing. -1 indicates no indexing is used
maxRows
Type: System..::.Int32
Max number of rows to return. -1 means all rows should be returned.

Return Value

The children for the requested page

Implements

IPageStore..::.GetChildren(PageReference, ILanguageSelector, Int32, Int32)

See Also