Search for pages that fulfil specific criteria. It will perfrom a database search

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

Syntax

C#
public override 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.

See Also