共用方式為


IViewObject2.SetAdvise(UInt32, UInt32, IAdviseSink) Method

Definition

public:
 void SetAdvise(System::UInt32 aspects, System::UInt32 ADVF, Microsoft::VisualStudio::OLE::Interop::IAdviseSink ^ pAdvSink);
public:
 void SetAdvise(unsigned int aspects, unsigned int ADVF, Microsoft::VisualStudio::OLE::Interop::IAdviseSink ^ pAdvSink);
void SetAdvise(unsigned int aspects, unsigned int ADVF, Microsoft::VisualStudio::OLE::Interop::IAdviseSink const & pAdvSink);
public void SetAdvise (uint aspects, uint ADVF, Microsoft.VisualStudio.OLE.Interop.IAdviseSink pAdvSink);
abstract member SetAdvise : uint32 * uint32 * Microsoft.VisualStudio.OLE.Interop.IAdviseSink -> unit
Public Sub SetAdvise (aspects As UInteger, ADVF As UInteger, pAdvSink As IAdviseSink)

Parameters

aspects
UInt32
ADVF
UInt32
pAdvSink
IAdviseSink

Implements

Applies to