IDataObject.DAdvise Method
Namespace: Microsoft.VisualStudio.OLE.Interop
Assembly: Microsoft.VisualStudio.OLE.Interop (in Microsoft.VisualStudio.OLE.Interop.dll)
Syntax
'Declaração
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
- pFormatetc
Type: array<Microsoft.VisualStudio.OLE.Interop.FORMATETC[]
- ADVF
Type: System.UInt32
- pAdvSink
Type: Microsoft.VisualStudio.OLE.Interop.IAdviseSink
- pdwConnection
Type: System.UInt32%
Return Value
Type: System.Int32
Remarks
For information on the COM interface, see IDataObject::DAdvise
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.