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
- 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.