Move a page to the Wastebasket. Base class implementation calls Move(page, WastebasketReference). A suggested implementation is to set WastebasketReference as parent and set property "PageDeleted" to true.Namespace: EPiServer.Core
Assembly: EPiServer (in EPiServer.dll) Version: 5.2.375.236
public virtual void MoveToWastebasket( PageReference pageLink )
- Type: EPiServer.Core..::.PageReference
The link to the page to move
Moves a page from its current location into the Recycle Bin. This is the same as doing:
Note: You need Delete access to the page that is being moved.