Read a single page.

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

Syntax

C#
PageData GetPage(
	PageReference pageLink,
	ILanguageSelector selector
)

Parameters

pageLink
Type: EPiServer.Core..::.PageReference
The page to read.
selector
Type: EPiServer.Core..::.ILanguageSelector
The language to select

Return Value

A PageData object with the page data.

Exceptions

ExceptionCondition
EPiServer.Core..::.AccessDeniedExceptionThrown when user does not have enough access right to perform this action

See Also