Create a page language in storage. Base class implentation will return a writable PageData object initialized for the specified language and the page type given by the master language version of the page.

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

Syntax

C#
public virtual PageData CreateLanguageBranch(
	PageReference pageLink,
	ILanguageSelector selector
)

Parameters

pageLink
Type: EPiServer.Core..::.PageReference
The link to the page to create a language branch for.
selector
Type: EPiServer.Core..::.ILanguageSelector
The language to create.

Return Value

A PageData object with the newly created page data.

Implements

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

See Also