'Declaration
Public Overloads Function WriteAllTextAsync( _ ByVal text As System.String, _ ByVal encoding As NEncoding, _ ByVal includeBom As System.Boolean _ ) As NPromise(Of NUndefined)
'Usage
Dim instance As NFile Dim text As System.String Dim encoding As NEncoding Dim includeBom As System.Boolean Dim value As NPromise(Of NUndefined) value = instance.WriteAllTextAsync(text, encoding, includeBom)
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.