IDataAdviseHolder.Advise Method
Namespace: Microsoft.VisualStudio.OLE.Interop
Assembly: Microsoft.VisualStudio.OLE.Interop (in Microsoft.VisualStudio.OLE.Interop.dll)
Syntax
'Declaração
Sub Advise ( _
pDataObject As IDataObject, _
pFetc As FORMATETC(), _
ADVF As UInteger, _
pAdvise As IAdviseSink, _
<OutAttribute> ByRef pdwConnection As UInteger _
)
void Advise(
IDataObject pDataObject,
FORMATETC[] pFetc,
uint ADVF,
IAdviseSink pAdvise,
out uint pdwConnection
)
Parameters
- pDataObject
Type: Microsoft.VisualStudio.OLE.Interop.IDataObject
- pFetc
Type: array<Microsoft.VisualStudio.OLE.Interop.FORMATETC[]
- ADVF
Type: System.UInt32
- pAdvise
Type: Microsoft.VisualStudio.OLE.Interop.IAdviseSink
- pdwConnection
Type: System.UInt32%
Remarks
For information on the COM interface, see IDataAdviseHolder::Advise
.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.