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

roaming.writeText method

Applies to Windows and Windows Phone

Writes the specified text to the specified file.

Syntax


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

Parameters

fileName

Type: String

The name of the file.

text

Type: string

The 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

See also

roaming

 

 

Show:
© 2017 Microsoft