Check if page with reference exists in collection

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

Syntax

C#
public bool Exists(
	PageReference page,
	string languageBranch
)

Parameters

page
Type: EPiServer.Core..::.PageReference
The reference to find
languageBranch
Type: System..::.String
The language branch to search for

Return Value

Returns false when reference not found

See Also