This document is provided on an "AS IS" basis without warranties of any kind. Smartsite iXperion class libraries may change in future releases.
Moves an item and all its children to a new parent
Throws an exception if either item is not found in the tree, if the newParent is not a folder or
if newParent is a descendant of itemNumber
Namespace: Smartsite.Tools
Assembly: Smartsite.Tools (in Smartsite.Tools.dll)
Syntax
C# | Copy Code |
---|---|
public void MoveBranch( int itemNumber, int newParent ) |
Visual Basic (Declaration) | Copy Code |
---|---|
Public Sub MoveBranch ( _ itemNumber As Integer, _ newParent As Integer _ ) |
Parameters
- itemNumber
- Int32
Number of the item to be moved
- newParent
- Int32
Number of the destination folder
See Also
Tree Class
Smartsite.Tools Namespace