Compartilhar via


IVsSolutionUIHierarchyWindow.AdviseSolutionUIEvents Method

Definition

Registers an event sink to listen to events related to the Solution Explorer window.

public:
 void AdviseSolutionUIEvents(Microsoft::VisualStudio::Shell::Interop::IVsSolutionUIEvents ^ pEventSink, [Runtime::InteropServices::Out] System::UInt32 % pdwCookie);
void AdviseSolutionUIEvents(Microsoft::VisualStudio::Shell::Interop::IVsSolutionUIEvents const & pEventSink, [Runtime::InteropServices::Out] unsigned int & pdwCookie);
public void AdviseSolutionUIEvents (Microsoft.VisualStudio.Shell.Interop.IVsSolutionUIEvents pEventSink, out uint pdwCookie);
abstract member AdviseSolutionUIEvents : Microsoft.VisualStudio.Shell.Interop.IVsSolutionUIEvents * uint32 -> unit
Public Sub AdviseSolutionUIEvents (pEventSink As IVsSolutionUIEvents, ByRef pdwCookie As UInteger)

Parameters

pEventSink
IVsSolutionUIEvents

[in] The object that receives event notices.

pdwCookie
UInt32

[out] Returns an abstract value that identifies the client to be advised of Solution Explorer window events. Use this cookie later in a call to the UnadviseSolutionUIEvents(UInt32) method.

Applies to