MenuItemCollection.Remove method

Deletes the first instance of the specified MenuItem from the collection.

Namespace:  Microsoft.SharePoint.WebPartPages
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public Sub Remove ( _
    menuItem As MenuItem _
)
'Usage
Dim instance As MenuItemCollection
Dim menuItem As MenuItem

instance.Remove(menuItem)
public void Remove(
    MenuItem menuItem
)

Parameters

See also

Reference

MenuItemCollection class

MenuItemCollection members

Microsoft.SharePoint.WebPartPages namespace