Share via


IVsMenuEditorFactory.CreateMenuEditor(MEINIT[], IVsMenuEditor) Method

Definition

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

pMEInit
MEINIT[]

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

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  
);  

Applies to