Nevron Open Vision Documentation
Nevron.Nov.IO Namespace / NFile Class / WriteAllBytesAsync Method


In This Topic
    WriteAllBytesAsync Method
    In This Topic
    Writes the given byte array to the file. If the file exists, it is overwritten.
    Syntax
    'Declaration
     
    
    Public Function WriteAllBytesAsync( _
       ByVal bytes() As System.Byte _
    ) As NPromise(Of NUndefined)
    'Usage
     
    
    Dim instance As NFile
    Dim bytes() As System.Byte
    Dim value As NPromise(Of NUndefined)
     
    value = instance.WriteAllBytesAsync(bytes)
    public NPromise<NUndefined> WriteAllBytesAsync( 
       System.byte[] bytes
    )

    Parameters

    bytes
    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