Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Writes the specified text to the specified file.
Syntax
var promise = WinJS.Application.local.writeText(fileName, text);
Parameters
fileName
Type: StringThe name of the file.
text
Type: stringThe content to be written to the file.
Return value
Type: Promise
A promise that completes with a value that is the number of characters written.
Requirements
Minimum WinJS version |
WinJS 1.0 |
Namespace |
WinJS.Application |