ITaxonomyManagerMoveCategory Method
|
Namespace:
Ingeniux.CMS
Assembly:
Ingeniux.CMS.CSAPI (in Ingeniux.CMS.CSAPI.dll) Version: 10.3.169
Syntax ICategoryNode MoveCategory(
ICategoryNode sourceCategory,
ICategoryNode targetCategory,
bool asSibling
)
Function MoveCategory (
sourceCategory As ICategoryNode,
targetCategory As ICategoryNode,
asSibling As Boolean
) As ICategoryNode
ICategoryNode^ MoveCategory(
ICategoryNode^ sourceCategory,
ICategoryNode^ targetCategory,
bool asSibling
)
abstract MoveCategory :
sourceCategory : ICategoryNode *
targetCategory : ICategoryNode *
asSibling : bool -> ICategoryNode
Parameters
- sourceCategory
- Type: Ingeniux.CMSICategoryNode
The category node to move. - targetCategory
- Type: Ingeniux.CMSICategoryNode
The category node at which to place the moved node. If null, the moved node becomes a root node. - asSibling
- Type: SystemBoolean
Specifies whether the moved node is placed as a child or as a sibling of the target node. If the target node is null, this parameter has no effect.
Return Value
Type:
ICategoryNodeThe moved category node as its new location
Exceptions Remarks
The moved node is not yet stored in the database.
The operating user must have the rights to Manage Taxonomy System. This user must also have full access to both the source category and target cateogry.
There is no concept of orders in the taxonomy tree.
See Also