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


In This Topic
    GetData Method (NOleDataObjectProvider)
    In This Topic
    Obtains data from a source data object. This method, which is called by a data consumer, renders the data described in the specified FORMATETC structure and transfers it through the specified STGMEDIUM structure. The caller then assumes responsibility for releasing the STGMEDIUM.
    Syntax
    'Declaration
     
    
    Public Sub GetData( _
       ByRef formatetc As System.Runtime.InteropServices.ComTypes.FORMATETC, _
       ByRef medium As System.Runtime.InteropServices.ComTypes.STGMEDIUM _
    ) 
    'Usage
     
    
    Dim instance As NOleDataObjectProvider
    Dim formatetc As System.Runtime.InteropServices.ComTypes.FORMATETC
    Dim medium As System.Runtime.InteropServices.ComTypes.STGMEDIUM
     
    instance.GetData(formatetc, medium)
    public void GetData( 
       ref System.Runtime.InteropServices.ComTypes.FORMATETC formatetc,
       out System.Runtime.InteropServices.ComTypes.STGMEDIUM medium
    )

    Parameters

    formatetc
    medium
    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