Share via


IDataObject.DAdvise Method

Namespace:  Microsoft.VisualStudio.OLE.Interop
Assembly:  Microsoft.VisualStudio.OLE.Interop (in Microsoft.VisualStudio.OLE.Interop.dll)

Syntax

'Declaration
Function DAdvise ( _
    pFormatetc As FORMATETC(), _
    ADVF As UInteger, _
    pAdvSink As IAdviseSink, _
    <OutAttribute> ByRef pdwConnection As UInteger _
) As Integer
int DAdvise(
    FORMATETC[] pFormatetc,
    uint ADVF,
    IAdviseSink pAdvSink,
    out uint pdwConnection
)
int DAdvise(
    [InAttribute] array<FORMATETC>^ pFormatetc, 
    [InAttribute] unsigned int ADVF, 
    [InAttribute] IAdviseSink^ pAdvSink, 
    [OutAttribute] unsigned int% pdwConnection
)
abstract DAdvise : 
        pFormatetc:FORMATETC[] * 
        ADVF:uint32 * 
        pAdvSink:IAdviseSink * 
        pdwConnection:uint32 byref -> int
function DAdvise(
    pFormatetc : FORMATETC[], 
    ADVF : uint, 
    pAdvSink : IAdviseSink, 
    pdwConnection : uint
) : int

Parameters

  • ADVF
    Type: UInt32
  • pdwConnection
    Type: UInt32%

Return Value

Type: Int32

Remarks

For information on the COM interface, see IDataObject::DAdvise

.NET Framework Security

See Also

Reference

IDataObject Interface

Microsoft.VisualStudio.OLE.Interop Namespace