APNSoft Controls [4.5.2.20] - API Reference
TreeViewElement.CloneToRoot Method (String)

Creates a duplicate of this element. Inserts the duplicated element to the root of collection. Child elements are not duplicated.

[Visual Basic]
Overloads Public Function CloneToRoot( _
   ByVal NewID As String _
) As TreeViewElement
[C#]
public TreeViewElement CloneToRoot(
   string NewID
);

Parameters

NewID
ID of the cloned element.

Return Value

The cloned element.

See Also

TreeViewElement Class | APNSoft.WebControls Namespace | TreeViewElement.CloneToRoot Overload List