APNSoft Controls [4.5.2.20] - API Reference
TreeViewElementCollection.AddToRoot Method (Types)

Adds a new element to the root of collection.

[Visual Basic]
Overloads Public Function AddToRoot( _
   ByVal Type As Types _
) As TreeViewElement
[C#]
public TreeViewElement AddToRoot(
   Types Type
);

Parameters

Type
Type of the new element.

Return Value

New element.

Remarks

Element ID is generated automatically.

See Also

TreeViewElementCollection Class | APNSoft.WebControls Namespace | TreeViewElementCollection.AddToRoot Overload List