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

Adds a new child element to specified parent element.

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

Parameters

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

Return Value

New element.

See Also

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