IVsShell6.AdvisePackageLoadEvents Method
Subscribes to package load events.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop.12.0 (in Microsoft.VisualStudio.Shell.Interop.12.0.dll)
Syntax
'Declaration
Function AdvisePackageLoadEvents ( _
eventSink As IVsPackageLoadEvents _
) As UInteger
uint AdvisePackageLoadEvents(
IVsPackageLoadEvents eventSink
)
unsigned int AdvisePackageLoadEvents(
[InAttribute] IVsPackageLoadEvents^ eventSink
)
abstract AdvisePackageLoadEvents :
eventSink:IVsPackageLoadEvents -> uint32
function AdvisePackageLoadEvents(
eventSink : IVsPackageLoadEvents
) : uint
Parameters
eventSink
Type: Microsoft.VisualStudio.Shell.Interop.IVsPackageLoadEventsThe event sink.
Return Value
Type: UInt32
The cookie.
.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.