IHierarchyIdMoveAncestor Method
|
Moves the hierarchy to be under another ancestor
Namespace:
Ingeniux.CMS
Assembly:
Ingeniux.CMS.CSAPI (in Ingeniux.CMS.CSAPI.dll) Version: 10.3.169
Syntax void MoveAncestor(
IHierarchyId oldAncestor,
IHierarchyId newAncestor,
bool copyMode = false
)
Sub MoveAncestor (
oldAncestor As IHierarchyId,
newAncestor As IHierarchyId,
Optional copyMode As Boolean = false
)
void MoveAncestor(
IHierarchyId^ oldAncestor,
IHierarchyId^ newAncestor,
bool copyMode = false
)
abstract MoveAncestor :
oldAncestor : IHierarchyId *
newAncestor : IHierarchyId *
?copyMode : bool
(* Defaults:
let _copyMode = defaultArg copyMode false
*)
-> unit
Parameters
- oldAncestor
- Type: Ingeniux.CMSIHierarchyId
Old ancestor node - newAncestor
- Type: Ingeniux.CMSIHierarchyId
New ancestor node - copyMode (Optional)
- Type: SystemBoolean
Specifies if the ancestor moving is due to a copy action of the node object that is taking this hierarchy.
When in copy mode, validation of current hierary under the old ancestor, and new ancestor is not descendant of this hierarchy will not be carried out.
See Also