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
- objItem
Type: Microsoft.SharePoint.Portal.WebControls.HtmlMenuItem
The object that contains the menu item to be removed.