IVsMenuEditor::OnChange Method (IVsMenuItem^, Int32)
Visual Studio 2015
Must be called by IMenuEditorSite if any property known by IVsMenuEditor changes on any menu item.
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
Parameters
- pIMI
-
Type:
Microsoft.VisualStudio.Shell.Interop::IVsMenuItem^
[in] The menu item on which the property changed.
- propid
-
Type:
System::Int32
[in] The identifier of the property that changed.
Return Value
Type: System::Int32If the method succeeds, it returns S_OK. If it fails, it returns an error code.
C++
From vsshell.idl:
HRESULT IVsMenuEditor::OnChange([in]IVsMenuItem *pIMI, [in]VSMEPROPID PropId);
Show: