APNSoft Controls [4.5.2.20] - API Reference
TreeViewElementCollection.AddChildItem Method (String, String, String)

Adds a new child item to specified parent element.

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

Parameters

NewID
ID of the new item.
Title
The text (caption) displayed for the item.
ParentID
ID of the parent element.

Return Value

New item element.

See Also

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