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


In This Topic
    QueryGetData Method
    In This Topic
    Determines whether the data object is capable of rendering the data described in the FORMATETC structure. Objects attempting a paste or drop operation can call this method before calling GetData to get an indication of whether the operation may be successful.
    Syntax
    'Declaration
     
    
    Public Function QueryGetData( _
       ByRef formatetc As System.Runtime.InteropServices.ComTypes.FORMATETC _
    ) As System.Integer
    'Usage
     
    
    Dim instance As NOleDataObjectProvider
    Dim formatetc As System.Runtime.InteropServices.ComTypes.FORMATETC
    Dim value As System.Integer
     
    value = instance.QueryGetData(formatetc)
    public System.int QueryGetData( 
       ref System.Runtime.InteropServices.ComTypes.FORMATETC formatetc
    )

    Parameters

    formatetc
    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