writeText method
Collapse the table of content
Expand the table of content

temp.writeText method

Applies to Windows and Windows Phone

Writes the specified text to the specified file.

Syntax


var promise = WinJS.Application.temp.writeText(fileName, text);

Parameters

fileName

Type: string

The name of the file.

text

Type: string

The 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

See also

temp

 

 

Show:
© 2017 Microsoft