ITaxonomyManagerCreateCategory Method
|
Namespace: Ingeniux.CMSAssembly: Ingeniux.CMS.CSAPI (in Ingeniux.CMS.CSAPI.dll) Version: 10.6.492
SyntaxICategoryNode CreateCategory(
string name,
string description,
string externalId,
string typeName,
ICategoryNode parentNode
)
Function CreateCategory (
name As String,
description As String,
externalId As String,
typeName As String,
parentNode As ICategoryNode
) As ICategoryNode
ICategoryNode^ CreateCategory(
String^ name,
String^ description,
String^ externalId,
String^ typeName,
ICategoryNode^ parentNode
)
abstract CreateCategory :
name : string *
description : string *
externalId : string *
typeName : string *
parentNode : ICategoryNode -> ICategoryNode Parameters
- name String
- Name of new category
- description String
- Description of new category
- externalId String
- External ID of new category (for integration with another taxonomy system)
- typeName String
- Type name of new category
- parentNode ICategoryNode
- Parent node under which to place the new category; if not listed, creates new node as root category
Return Value
ICategoryNodeNewly created category.
Exceptions
Remarks
When the new Category Node is returned, it has not yet been stored in the database.
The operating user must have the rights to Manage Taxonomy System and also have full access to the specified parent node.
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