IVsMenuEventsService.AdviseMenuEvents 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.
Overloads
AdviseMenuEvents(IVsMenuEvents, Guid, UInt32) | |
AdviseMenuEvents(IVsMenuEvents, Guid, UInt32) |
AdviseMenuEvents(IVsMenuEvents, Guid, UInt32)
public:
System::UInt32 AdviseMenuEvents(Microsoft::VisualStudio::Shell::Interop::IVsMenuEvents ^ pEventSink, Guid % pguidCmdGroup, System::UInt32 dwCmdId);
public uint AdviseMenuEvents (Microsoft.VisualStudio.Shell.Interop.IVsMenuEvents pEventSink, ref Guid pguidCmdGroup, uint dwCmdId);
abstract member AdviseMenuEvents : Microsoft.VisualStudio.Shell.Interop.IVsMenuEvents * Guid * uint32 -> uint32
Public Function AdviseMenuEvents (pEventSink As IVsMenuEvents, ByRef pguidCmdGroup As Guid, dwCmdId As UInteger) As UInteger
Parameters
- pEventSink
- IVsMenuEvents
- pguidCmdGroup
- Guid
- dwCmdId
- UInt32
Returns
Applies to
AdviseMenuEvents(IVsMenuEvents, Guid, UInt32)
public:
System::UInt32 AdviseMenuEvents(Microsoft::VisualStudio::Shell::Interop::IVsMenuEvents ^ pEventSink, Guid ^ pguidCmdGroup, System::UInt32 dwCmdId);
public uint AdviseMenuEvents (Microsoft.VisualStudio.Shell.Interop.IVsMenuEvents pEventSink, in Guid pguidCmdGroup, uint dwCmdId);
abstract member AdviseMenuEvents : Microsoft.VisualStudio.Shell.Interop.IVsMenuEvents * Guid * uint32 -> uint32
Public Function AdviseMenuEvents (pEventSink As IVsMenuEvents, pguidCmdGroup As Guid, dwCmdId As UInteger) As UInteger
Parameters
- pEventSink
- IVsMenuEvents
- pguidCmdGroup
- Guid
- dwCmdId
- UInt32