NevronOpenVision
Nevron.Nov.IO Namespace / NFile Class / WriteAllTextAsync Method / WriteAllTextAsync(String,NEncoding,Boolean) Method
The text to write.
The text encoding to use.
Determines whether to include byte order mark (BOM) or not.
In This Topic
    WriteAllTextAsync(String,NEncoding,Boolean) Method
    In This Topic
    Writes the given text to the file using the specified encoding. Optionally writes a byte order mark (BOM).
    Syntax
    public NPromise<NUndefined> WriteAllTextAsync( 
       System.string text,
       NEncoding encoding,
       System.bool includeBom
    )

    Parameters

    text
    The text to write.
    encoding
    The text encoding to use.
    includeBom
    Determines whether to include byte order mark (BOM) or not.
    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