共用方式為


IVsShell6.AdvisePackageLoadEvents(IVsPackageLoadEvents) Method

Definition

Subscribes to package load events.

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

Parameters

eventSink
IVsPackageLoadEvents

The event sink.

Returns

The cookie.

Applies to