Retrieve page listing.
Namespace:
EPiServerAssembly: EPiServer (in EPiServer.dll) Version: 5.2.375.236
Syntax
| C# |
|---|
public IEnumerable<TPageData> GetChildren<TPageData>( PageReference pageLink, ILanguageSelector selector, int startIndex, int maxRows ) where TPageData : new(), PageData |
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.
Type Parameters
- TPageData
- A type deriving from PageData having a default constructor.
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.