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

Creates a duplicate of this element. Inserts the duplicated element to specified parent element. Child elements are not duplicated.

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

Parameters

NewID
ID of the cloned element.
ParentID
ID of the element that will be parent for cloned element.

Return Value

The cloned element.

See Also

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