Get a PageData object with default values. Base class implementation will create a new PageData object with properties given by page type.

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

Syntax

C#
public virtual PageData GetDefaultPageData(
	PageReference parentPageLink,
	int pageTypeID,
	ILanguageSelector selector
)

Parameters

parentPageLink
Type: EPiServer.Core..::.PageReference
The parent page of the "virtual" new page.
pageTypeID
Type: System..::.Int32
The page type of the new page.
selector
Type: EPiServer.Core..::.ILanguageSelector
The language to which page should be created

Return Value

A PageData object that contains the default values for a new page of the indicated type that is about to be created under parentPageLink.

Implements

IPageStore..::.GetDefaultPageData(PageReference, Int32, ILanguageSelector)

See Also