Search for pages that fulfil a specific criterias

Namespace: EPiServer
Assembly:   EPiServer (in EPiServer)
Version: 5.1.422.256

Syntax

C#
public PageDataCollection FindPagesWithCriteria (
	PageReference pageLink,
	PropertyCriteriaCollection criterias
)

Parameters

pageLink
EPiServer.Core.PageReference
The root page for which the search will be performed
criterias
EPiServer.PropertyCriteriaCollection
The criterias for pages

Return Value

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