APNSoft Controls [4.5.2.20] - API Reference
MenuElementCollection.AddRootItem Method (String, String)

Adds a new item to the root of collection.

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

Parameters

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

Return Value

New item element.

See Also

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