Nevron Open Vision Documentation
Nevron.Nov.IO Namespace / NFileSystemService Class / OpenFileAsync Method


In This Topic
    OpenFileAsync Method (NFileSystemService)
    In This Topic
    Opens an existing file or creates a new file for both reading and writing.
    Syntax
    'Declaration
     
    
    Public MustOverride Function OpenFileAsync( _
       ByVal file As NFile _
    ) As NPromise(Of Stream)
    'Usage
     
    
    Dim instance As NFileSystemService
    Dim file As NFile
    Dim value As NPromise(Of Stream)
     
    value = instance.OpenFileAsync(file)
    public abstract NPromise<Stream> OpenFileAsync( 
       NFile file
    )

    Parameters

    file
    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