-api-id | -api-type |
---|---|
M:Windows.Storage.FileIO.WriteTextAsync(Windows.Storage.IStorageFile,System.String) |
winrt method |
Writes text to the specified file.
The file that the text is written to.
The text to write.
No object or value is returned when this method completes.
This method attempts to automatically detect the encoding of a file based on the presence of byte order marks. If an encoding cannot be detected, the encoding specified by the caller is used.