Search for pages that fulfil a specific criterias

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

Syntax

C#
[ObsoleteAttribute("Use overload without access parameter. Access rights are ignored.", 
	false)]
public PageDataCollection FindPagesWithCriteria(
	PageReference pageLink,
	PropertyCriteriaCollection criterias,
	AccessLevel requiredAccess
)

Parameters

pageLink
Type: EPiServer.Core..::.PageReference
The root page for which the search will be performed
criterias
Type: EPiServer..::.PropertyCriteriaCollection
The criterias for pages
requiredAccess
Type: EPiServer.Security..::.AccessLevel
The required access for the found pages

Return Value

A collection of pages that fulfil the criteras, will be empty if no match is found.

See Also