ITaxonomyManagerMoveCategory Method
|
Namespace: Ingeniux.CMSAssembly: Ingeniux.CMS.CSAPI (in Ingeniux.CMS.CSAPI.dll) Version: 10.6.492
SyntaxICategoryNode 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 ICategoryNode
- The category node to move.
- targetCategory ICategoryNode
- The category node at which to place the moved node. If null, the moved node becomes a root node.
- asSibling Boolean
- 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
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