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

Adds a new element to the root of collection.

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

Parameters

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

Return Value

New element.

See Also

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