Retrieve page listing.

Namespace:  EPiServer
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
The page that you want to list the children to.
selector
Type: EPiServer.Core..::.ILanguageSelector
An ILanguageSelector that will be used to determine the language for the child pages.
startIndex
Type: System..::.Int32
The start index of the listing. Used to obtain paging.
maxRows
Type: System..::.Int32
The maximum amout of pages returned.

Return Value

The pages that match the listing criteria.

Remarks

This methods does not filter any pages due to access rights, but it will filter pages not published for the selected language.

See Also