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

Adds a new element to the root of collection.

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

Parameters

Type
Type of the new element.

Return Value

New element.

Remarks

Element ID is generated automatically.

See Also

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