temp.writeText method
Writes the specified text to the specified file.
Syntax
var promise = WinJS.Application.temp.writeText(fileName, text);
Parameters
fileName
Type: stringThe name of the file.
text
Type: stringThe text to write.
Return value
Type: Promise
A Promise that completes with the number of bytes successfully written to the file.
Requirements
Minimum WinJS version |
WinJS 1.0 |
Namespace |
WinJS.Application |