共用方式為


IVsSharedAssetsProject.AdviseEvents(IVsSharedAssetsProjectEvents) Method

Definition

Subscribes to the shared project's events.

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

Parameters

pEvents
IVsSharedAssetsProjectEvents

The event sink.

Returns

The event cookie.

Applies to