Share via


IVsMenuEventsService.AdviseMenuEvents Method

Definition

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

Returns

Applies to