APNSoft Controls [4.5.2.20] - API Reference
MenuElementCollection.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 MenuElement
[C#]
public MenuElement 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

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