Read a single page from the storage. The default implementation will check for the page in the cache. If it is not found there it will call into method GetLocalPage(PageReference, ILanguageSelector)

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

Syntax

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

Implements

IPageStore..::.GetPage(PageReference, ILanguageSelector)

Exceptions

ExceptionCondition
EPiServer.Core..::.EPiServerException Thrown if the page does not have a valid master language branch.

See Also