IVsSolutionUIHierarchyWindow.AdviseSolutionUIEvents Method
Registers an event sink to listen to events related to the Solution Explorer window.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop.11.0 (in Microsoft.VisualStudio.Shell.Interop.11.0.dll)
Syntax
'Declaration
Sub AdviseSolutionUIEvents ( _
pEventSink As IVsSolutionUIEvents, _
<OutAttribute> ByRef pdwCookie As UInteger _
)
void AdviseSolutionUIEvents(
IVsSolutionUIEvents pEventSink,
out uint pdwCookie
)
void AdviseSolutionUIEvents(
[InAttribute] IVsSolutionUIEvents^ pEventSink,
[OutAttribute] unsigned int% pdwCookie
)
abstract AdviseSolutionUIEvents :
pEventSink:IVsSolutionUIEvents *
pdwCookie:uint32 byref -> unit
function AdviseSolutionUIEvents(
pEventSink : IVsSolutionUIEvents,
pdwCookie : uint
)
Parameters
pEventSink
Type: Microsoft.VisualStudio.Shell.Interop.IVsSolutionUIEvents[in] The object that receives event notices.
pdwCookie
Type: 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 method.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.