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

Adds a new element as a sibling to the current element. New element is added after the current element.

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

Parameters

NewID
ID of the new element.
Type
Type of the new element.

Return Value

New element.

See Also

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