Move a page to another container

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

Syntax

C#
void Move(
	PageReference pageLink,
	PageReference destinationLink
)

Parameters

pageLink
Type: EPiServer.Core..::.PageReference
The link to the page to move
destinationLink
Type: EPiServer.Core..::.PageReference
The container to which the page will be moved

Return Value

True if the move was successful

Exceptions

ExceptionCondition
EPiServer.Core..::.AccessDeniedExceptionThrown when user does not have enough access right to perform this action.

See Also