Share via


HtmlMenuItemCollection.Remove Method

Removes a menu item from a menu.

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

Syntax

'Declaration
Public Sub Remove ( _
    objItem As HtmlMenuItem _
)
'Usage
Dim instance As HtmlMenuItemCollection
Dim objItem As HtmlMenuItem

instance.Remove(objItem)
public void Remove(
    HtmlMenuItem objItem
)

Parameters

See Also

Reference

HtmlMenuItemCollection Class

HtmlMenuItemCollection Members

Microsoft.SharePoint.Portal.WebControls Namespace