Click or drag to resize

IPageRemovePageCreationRule Method


Removes a Page Creation Rule (PCR) from this page.

Namespace:  Ingeniux.CMS
Assembly:  Ingeniux.CMS.CSAPI (in Ingeniux.CMS.CSAPI.dll) Version: 10.3.169
Syntax
bool RemovePageCreationRule(
	IPageCreationRule rule
)

Parameters

rule
Type: Ingeniux.CMSIPageCreationRule
PCR to remove

Return Value

Type: Boolean
If the rule isn't specified or doesn't belong to this page, this method returns false. Returns true when successful.
Remarks

When all PCRs are removed from this page, the PCR descriptor will be removed, too, and RulesInherited will be set to false.

See Also