Search for pages that fulfil specific criteria. Will not filter on access.
Namespace:
EPiServerAssembly: EPiServer (in EPiServer.dll) Version: 5.2.375.236
Syntax
| C# |
|---|
public PageDataCollection FindAllPagesWithCriteria( PageReference pageLink, PropertyCriteriaCollection criterias, string languageBranch, ILanguageSelector selector ) |
Parameters
- pageLink
- Type: EPiServer.Core..::.PageReference
The root page for which the search will be performed
- criterias
- Type: EPiServer..::.PropertyCriteriaCollection
The criterias for pages
- languageBranch
- Type: System..::.String
Only search for pages on specific language branch
- selector
- Type: EPiServer.Core..::.ILanguageSelector
A language selector used to determine the language of pages to return
Return Value
A collection of pages that fulfil the criteras, will be empty if no match is found.
Exceptions
| Exception | Condition |
|---|---|
| System..::.ArgumentNullException | Thrown when the pageLink is NOT vaild |