HtmlMenuItemCollection.Insert Method

Inserts a menu item at the specified location.

Namespace:  Microsoft.SharePoint.Portal.WebControls
Assembly:  Microsoft.SharePoint.Portal (in Microsoft.SharePoint.Portal.dll)


Public Sub Insert ( _
    index As Integer, _
    objItem As HtmlMenuItem _
Dim instance As HtmlMenuItemCollection
Dim index As Integer
Dim objItem As HtmlMenuItem

instance.Insert(index, objItem)
public void Insert(
    int index,
    HtmlMenuItem objItem


  • index
    Type: System.Int32
    The location where the specified menu item is to be inserted.

See Also


HtmlMenuItemCollection Class

HtmlMenuItemCollection Members

Microsoft.SharePoint.Portal.WebControls Namespace