IDataAdviseHolder.Advise Method
Namespace: Microsoft.VisualStudio.OLE.Interop
Assembly: Microsoft.VisualStudio.OLE.Interop (in Microsoft.VisualStudio.OLE.Interop.dll)
Syntax
'Declaration
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
)
void Advise(
[InAttribute] IDataObject^ pDataObject,
[InAttribute] array<FORMATETC>^ pFetc,
[InAttribute] unsigned int ADVF,
[InAttribute] IAdviseSink^ pAdvise,
[OutAttribute] unsigned int% pdwConnection
)
abstract Advise :
pDataObject:IDataObject *
pFetc:FORMATETC[] *
ADVF:uint32 *
pAdvise:IAdviseSink *
pdwConnection:uint32 byref -> unit
function Advise(
pDataObject : IDataObject,
pFetc : FORMATETC[],
ADVF : uint,
pAdvise : IAdviseSink,
pdwConnection : uint
)
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.