IVsMenuEditorFactory.CreateMenuEditor Method (MEINIT[], IVsMenuEditor)

 

Creates a new instance of a menu editor.

Namespace:   Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)

int CreateMenuEditor(
	MEINIT[] pMEInit,
	out IVsMenuEditor ppME
)

Parameters

pMEInit
Type: Microsoft.VisualStudio.Shell.Interop.MEINIT[]

[in] An MEINIT structure that contains values for the menu editor initialization.

ppME
Type: Microsoft.VisualStudio.Shell.Interop.IVsMenuEditor

[out] The new instance of a menu editor.

Return Value

Type: System.Int32

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

From vsshell.idl:

HRESULT IVsMenuEditorFactory::CreateMenuEditor(
   [in]MEINIT *pMEInit, 
   [out]IVsMenuEditor** ppME
);
Return to top
Show: