Share via


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

Remarks

For information on the COM interface, see IDataAdviseHolder::Advise

.NET Framework Security

See Also

Reference

IDataAdviseHolder Interface

Microsoft.VisualStudio.OLE.Interop Namespace