IVsMenuEditorFactory::CreateMenuEditor Method (array<MEINIT>^, IVsMenuEditor^)
Visual Studio 2015
Creates a new instance of a menu editor.
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
Parameters
- pMEInit
-
Type:
array<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::Int32If 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
);
Show: