IVsMenuEditorSite::DeleteItem Method (IVsMenuItem^)
Visual Studio 2015
Deletes the given item.
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
Parameters
- pIMI
-
Type:
Microsoft.VisualStudio.Shell.Interop::IVsMenuItem^
[In] A pointer to an object of type IVsMenuItem representing the menu item to delete.
Return Value
Type: System::Int32If the method succeeds, it returns S_OK. If it fails, it returns an error code.
From vsshell.idl:
[C++]
HRESULT IVsMenuEditorSite::DeleteItem( [in]IVsMenuItem *pIMI );
Show: