SettableOleDataObject.DAdvise Method

Namespace:  Microsoft.VisualStudio.Shell
Assembly:  Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)

Syntax

声明
Public Function DAdvise ( _
    pFormatetc As FORMATETC(), _
    ADVF As UInteger, _
    pAdvSink As IAdviseSink, _
    <OutAttribute> ByRef pdwConnection As UInteger _
) As Integer
用法
Dim instance As SettableOleDataObject
Dim pFormatetc As FORMATETC()
Dim ADVF As UInteger
Dim pAdvSink As IAdviseSink
Dim pdwConnection As UInteger
Dim returnValue As Integer

returnValue = instance.DAdvise(pFormatetc, _
    ADVF, pAdvSink, pdwConnection)
public int DAdvise(
    FORMATETC[] pFormatetc,
    uint ADVF,
    IAdviseSink pAdvSink,
    out uint pdwConnection
)
public:
virtual int DAdvise(
    array<FORMATETC>^ pFormatetc, 
    unsigned int ADVF, 
    IAdviseSink^ pAdvSink, 
    [OutAttribute] unsigned int% pdwConnection
) sealed
abstract DAdvise : 
        pFormatetc:FORMATETC[] * 
        ADVF:uint32 * 
        pAdvSink:IAdviseSink * 
        pdwConnection:uint32 byref -> int 
override DAdvise : 
        pFormatetc:FORMATETC[] * 
        ADVF:uint32 * 
        pAdvSink:IAdviseSink * 
        pdwConnection:uint32 byref -> int 
public final function DAdvise(
    pFormatetc : FORMATETC[], 
    ADVF : uint, 
    pAdvSink : IAdviseSink, 
    pdwConnection : uint
) : int

Parameters

Return Value

Type: System.Int32

Implements

IDataObject.DAdvise(array<FORMATETC[], UInt32, IAdviseSink, UInt32%)

.NET Framework Security

See Also

Reference

SettableOleDataObject Class

SettableOleDataObject Members

Microsoft.VisualStudio.Shell Namespace