Nevron Open Vision Documentation
Nevron.Nov.IO Namespace / NFile Class / ReadAllTextAsync Method / ReadAllTextAsync() Method


In This Topic
    ReadAllTextAsync() Method
    In This Topic
    Opens the file for reading, and reads the contents of this file as a string using UTF-8 text encoding.
    Syntax
    'Declaration
     
    
    Public Overloads Function ReadAllTextAsync() As NPromise(Of String)
    'Usage
     
    
    Dim instance As NFile
    Dim value As NPromise(Of String)
     
    value = instance.ReadAllTextAsync()
    public NPromise<string> ReadAllTextAsync()
    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