IVsMenuEditorFactory.CreateMenuEditor(MEINIT[], IVsMenuEditor) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates a new instance of a menu editor.
public:
int CreateMenuEditor(cli::array <Microsoft::VisualStudio::Shell::Interop::MEINIT> ^ pMEInit, [Runtime::InteropServices::Out] Microsoft::VisualStudio::Shell::Interop::IVsMenuEditor ^ % ppME);
int CreateMenuEditor(std::Array <Microsoft::VisualStudio::Shell::Interop::MEINIT> const & pMEInit, [Runtime::InteropServices::Out] Microsoft::VisualStudio::Shell::Interop::IVsMenuEditor const & & ppME);
public int CreateMenuEditor (Microsoft.VisualStudio.Shell.Interop.MEINIT[] pMEInit, out Microsoft.VisualStudio.Shell.Interop.IVsMenuEditor ppME);
abstract member CreateMenuEditor : Microsoft.VisualStudio.Shell.Interop.MEINIT[] * IVsMenuEditor -> int
Public Function CreateMenuEditor (pMEInit As MEINIT(), ByRef ppME As IVsMenuEditor) As Integer
Parameters
- ppME
- IVsMenuEditor
[out] The new instance of a menu editor.
Returns
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Remarks
COM Signature
From vsshell.idl:
HRESULT IVsMenuEditorFactory::CreateMenuEditor(
[in]MEINIT *pMEInit,
[out]IVsMenuEditor** ppME
);