Click or drag to resize

ISchemaCommonAddAllowedRootCategory Method


Adds a new root category to the allowed root categories collection.

Namespace:  Ingeniux.CMS
Assembly:  Ingeniux.CMS.CSAPI (in Ingeniux.CMS.CSAPI.dll) Version: 10.3.169
Syntax
void AddAllowedRootCategory(
	ICategoryNode category
)

Parameters

category
Type: Ingeniux.CMSICategoryNode
New category to add as an allowed root
Remarks
If the category already exists in collection, nothing happens.
See Also

Reference

[!:Ingeniux.CMS.ISchemaBasic.AllowedCategoryRoots]
[!:Ingeniux.CMS.ISchemaBasic.AllowedCategoryRootsCount]
[!:Ingeniux.CMS.ISchemaBasic.RemoveAllowedRootCategory]
[!:Ingeniux.CMS.ISchemaBasic.ClearAllowedCategoryRoots]