Click or drag to resize

ITaxonomyManager.CreateRootCategory Method


Creates a new Root Category Node.

Namespace:  Ingeniux.CMS
Assembly:  Ingeniux.CMS.CSAPI (in Ingeniux.CMS.CSAPI.dll) Version: 10.6.308
Syntax
ICategoryNode CreateRootCategory(
	string name,
	string description,
	string externalId,
	string typeName
)

Parameters

name
Type: System.String
Name of new category
description
Type: System.String
Description of new category
externalId
Type: System.String
External ID of new category (for integration with another taxonomy system)
typeName
Type: System.String
Type name of new category

Return Value

Type: ICategoryNode
Newly created toot category
Exceptions
ExceptionCondition
InvalidOperationExceptionWhen operating user doesn't have the rights to Manage Taxonomy System.
Remarks

When the new node is returned, it has not yet been stored in the database.

The operating user must have the rights to Manage Taxonomy System.

The taxonomy tree doesn't have the concept of orders.

The CreationLocale of the new category is the value of the CurrentLocale property.

See Also