Get a PageData object with default values.

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

Syntax

C#
public PageData GetDefaultPageData(
	PageReference parentPageLink,
	string pageTypeName
)

Parameters

parentPageLink
Type: EPiServer.Core..::.PageReference
The parent page of the "virtual" new page.
pageTypeName
Type: System..::.String
The page type name of the new page.

Return Value

A PageData object that contains the default values for a new page of the indicated type.

See Also