IHierarchyIdMoveAncestor Method
|
Note: This API is now obsolete.
Moves the hierarchy to be under another ancestor
Namespace: Ingeniux.CMSAssembly: Ingeniux.CMS.CSAPI (in Ingeniux.CMS.CSAPI.dll) Version: 10.6.492
Syntax[ObsoleteAttribute("No longer required. Will be refactored out in a future release.")]
void MoveAncestor(
IHierarchyId oldAncestor,
IHierarchyId newAncestor,
bool copyMode = false
)<ObsoleteAttribute("No longer required. Will be refactored out in a future release.")>
Sub MoveAncestor (
oldAncestor As IHierarchyId,
newAncestor As IHierarchyId,
Optional copyMode As Boolean = false
)[ObsoleteAttribute(L"No longer required. Will be refactored out in a future release.")]
void MoveAncestor(
IHierarchyId^ oldAncestor,
IHierarchyId^ newAncestor,
bool copyMode = false
)
[<ObsoleteAttribute("No longer required. Will be refactored out in a future release.")>]
abstract MoveAncestor :
oldAncestor : IHierarchyId *
newAncestor : IHierarchyId *
?copyMode : bool
(* Defaults:
let _copyMode = defaultArg copyMode false
*)
-> unit Parameters
- oldAncestor IHierarchyId
- Old ancestor node
- newAncestor IHierarchyId
- New ancestor node
- copyMode Boolean (Optional)
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