共用方式為


IDataObject.DAdvise Method

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

Syntax

'宣告
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
)

Parameters

Return Value

Type: System.Int32

Remarks

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

.NET Framework Security

See Also

Reference

IDataObject Interface

Microsoft.VisualStudio.OLE.Interop Namespace