다음을 통해 공유


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.

See Also

Reference

HtmlMenuItemCollection Class

HtmlMenuItemCollection Members

Microsoft.SharePoint.Portal.WebControls Namespace