Nevron Open Vision Documentation
Nevron.Nov.WpfControls Namespace / NTreeGridViewControl Class / OpenFileAsync Method


In This Topic
    OpenFileAsync Method (NTreeGridViewControl)
    In This Topic
    Syntax
    'Declaration
     
    
    Public Function OpenFileAsync( _
       ByVal defaultFormat As NGridFormat(Of NTreeGridDocument,NTreeGrid), _
       ByVal docFormatRegistry As NGridFormatRegistry(Of NTreeGridDocument,NTreeGrid), _
       ByVal reportErrors As System.Boolean, _
       ByVal askToSaveChanges As System.Boolean _
    ) As NPromise(Of Boolean)
    'Usage
     
    
    Dim instance As NTreeGridViewControl
    Dim defaultFormat As NGridFormat(Of NTreeGridDocument,NTreeGrid)
    Dim docFormatRegistry As NGridFormatRegistry(Of NTreeGridDocument,NTreeGrid)
    Dim reportErrors As System.Boolean
    Dim askToSaveChanges As System.Boolean
    Dim value As NPromise(Of Boolean)
     
    value = instance.OpenFileAsync(defaultFormat, docFormatRegistry, reportErrors, askToSaveChanges)

    Parameters

    defaultFormat
    docFormatRegistry
    reportErrors
    askToSaveChanges
    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