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)
Syntax
'Declaration
Public Sub Insert ( _
index As Integer, _
objItem As HtmlMenuItem _
)
'Usage
Dim instance As HtmlMenuItemCollection
Dim index As Integer
Dim objItem As HtmlMenuItem
instance.Insert(index, objItem)
public void Insert(
int index,
HtmlMenuItem objItem
)
Parameters
- index
Type: System.Int32
The location where the specified menu item is to be inserted.
- objItem
Type: Microsoft.SharePoint.Portal.WebControls.HtmlMenuItem
The object that contains the menu item to be inserted.