Click or drag to resize

ISchemaCommonAllowedCategoryRoots Method


Retrieves the collection of categories. Categories and their descendants in this collection are allowed to be associated with pages created with this schema.

Namespace:  Ingeniux.CMS
Assembly:  Ingeniux.CMS.CSAPI (in Ingeniux.CMS.CSAPI.dll) Version: 10.5.94
Syntax
IEnumerable<ICategoryNode> AllowedCategoryRoots()

Return Value

Type: IEnumerableICategoryNode
Collection of allowed root categories.
Remarks

When this property is empty, all categories are allowed to be associated with pages created with this schema.

Note that any categories, not just categories that are roots in the tree, must be added in this list.

See Also

Reference

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