共用方式為


IViewObject.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

Remarks

For information on the COM interface, see IViewObject::SetAdvise

Applies to