共用方式為


IVsUIShell7.AdviseWindowFrameEvents(IVsWindowFrameEvents) Method

Definition

Called to sign up for events affecting all IVsWindowFrames.

public:
 System::UInt32 AdviseWindowFrameEvents(Microsoft::VisualStudio::Shell::Interop::IVsWindowFrameEvents ^ eventSink);
public:
 unsigned int AdviseWindowFrameEvents(Microsoft::VisualStudio::Shell::Interop::IVsWindowFrameEvents ^ eventSink);
unsigned int AdviseWindowFrameEvents(Microsoft::VisualStudio::Shell::Interop::IVsWindowFrameEvents const & eventSink);
public uint AdviseWindowFrameEvents (Microsoft.VisualStudio.Shell.Interop.IVsWindowFrameEvents eventSink);
abstract member AdviseWindowFrameEvents : Microsoft.VisualStudio.Shell.Interop.IVsWindowFrameEvents -> uint32
Public Function AdviseWindowFrameEvents (eventSink As IVsWindowFrameEvents) As UInteger

Parameters

eventSink
IVsWindowFrameEvents

The event sink.

Returns

The listener cookie.

Applies to