Compartilhar via


IDataAdviseHolder.Advise Method

Definition

public:
 void Advise(Microsoft::VisualStudio::OLE::Interop::IDataObject ^ pDataObject, cli::array <Microsoft::VisualStudio::OLE::Interop::FORMATETC> ^ pFetc, System::UInt32 ADVF, Microsoft::VisualStudio::OLE::Interop::IAdviseSink ^ pAdvise, [Runtime::InteropServices::Out] System::UInt32 % pdwConnection);
void Advise(Microsoft::VisualStudio::OLE::Interop::IDataObject const & pDataObject, std::Array <Microsoft::VisualStudio::OLE::Interop::FORMATETC> const & pFetc, unsigned int ADVF, Microsoft::VisualStudio::OLE::Interop::IAdviseSink const & pAdvise, [Runtime::InteropServices::Out] unsigned int & pdwConnection);
public void Advise (Microsoft.VisualStudio.OLE.Interop.IDataObject pDataObject, Microsoft.VisualStudio.OLE.Interop.FORMATETC[] pFetc, uint ADVF, Microsoft.VisualStudio.OLE.Interop.IAdviseSink pAdvise, out uint pdwConnection);
abstract member Advise : Microsoft.VisualStudio.OLE.Interop.IDataObject * Microsoft.VisualStudio.OLE.Interop.FORMATETC[] * uint32 * Microsoft.VisualStudio.OLE.Interop.IAdviseSink * uint32 -> unit
Public Sub Advise (pDataObject As IDataObject, pFetc As FORMATETC(), ADVF As UInteger, pAdvise As IAdviseSink, ByRef pdwConnection As UInteger)

Parameters

pDataObject
IDataObject
pFetc
FORMATETC[]
ADVF
UInt32
pAdvise
IAdviseSink
pdwConnection
UInt32

Remarks

For information on the COM interface, see IDataAdviseHolder::Advise

Applies to