Nevron Open Vision Documentation
Nevron.Nov.Windows.OLE Namespace / NOleDataObjectProvider Class / DAdvise Method


In This Topic
    DAdvise Method
    In This Topic
    Syntax
    'Declaration
     
    
    Public Function DAdvise( _
       ByRef pFormatetc As System.Runtime.InteropServices.ComTypes.FORMATETC, _
       ByVal advf As System.Runtime.InteropServices.ComTypes.ADVF, _
       ByVal adviseSink As System.Runtime.InteropServices.ComTypes.IAdviseSink, _
       ByRef connection As System.Integer _
    ) As System.Integer
    'Usage
     
    
    Dim instance As NOleDataObjectProvider
    Dim pFormatetc As System.Runtime.InteropServices.ComTypes.FORMATETC
    Dim advf As System.Runtime.InteropServices.ComTypes.ADVF
    Dim adviseSink As System.Runtime.InteropServices.ComTypes.IAdviseSink
    Dim connection As System.Integer
    Dim value As System.Integer
     
    value = instance.DAdvise(pFormatetc, advf, adviseSink, connection)
    public System.int DAdvise( 
       ref System.Runtime.InteropServices.ComTypes.FORMATETC pFormatetc,
       System.Runtime.InteropServices.ComTypes.ADVF advf,
       System.Runtime.InteropServices.ComTypes.IAdviseSink adviseSink,
       out System.int connection
    )

    Parameters

    pFormatetc
    advf
    adviseSink
    connection
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 7, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later)

    See Also