Initialize a new PageReference with page id and any available version. If no version is published the most recently saved will be loaded.

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

Syntax

C#
public PageReference(
	int pageID,
	bool anyVersion
)

Parameters

pageID
Type: System..::.Int32
The page id to set
anyVersion
Type: System..::.Boolean
This parameter is not used, see remarks

See Also