IPageRemoveChildPage Method Ingeniux CMS Content Store API

Removes a child Page of this page.

Namespace: Ingeniux.CMS
Assembly: Ingeniux.CMS.CSAPI (in Ingeniux.CMS.CSAPI.dll) Version: 9.0.565.0 (9.0.565)
Syntax

bool RemoveChildPage(
	IPage child
)

Parameters

child
Type: Ingeniux.CMSIPage
The child page to removed. If not provided, this method returns false.

Return Value

Type: Boolean
True if the child page is successfully removed, false otherwise
Remarks

If a child page isn't provided or that page is not child of this page this method returns false.

The current user must have permission to Delete pages. Otherwise, an error will be thrown.

The current user must have Full Access to this page. Otherwise, an error will be thrown.

If the page is not assigned to the current user and the current user doesn't have to right to assign other users' pages, an error will be thrown.

Two events are fired by this method on the page to be removed: BeforePageDelete and AfterPageDelete

See Also

Reference