Click or drag to resize

ITaxonomyManagerRemoveCategory Method


Removes a Category Node from the content store. This also removes any associations this Category has with any Pages.

Namespace: Ingeniux.CMS
Assembly: Ingeniux.CMS.CSAPI (in Ingeniux.CMS.CSAPI.dll) Version: 10.6.492
Syntax
bool RemoveCategory(
	ICategoryNode category
)

Parameters

category  ICategoryNode
The category to remove. If null, returns false.

Return Value

Boolean
True if category exists, false if it doesn't.
Exceptions
ExceptionCondition
InvalidOperationExceptionWhen the operating user doesn't have the rights to Manage Taxonomy System or doesn't have full access to the category to be removed.
Remarks

Category is permanently removed after this method is called.

Category removal occurs when session closes.

The operating user must have rights to Manage Taxonomy System and full access to the category to be removed.

See Also