Dela via


WinJS.Application.temp object

The temp storage of the application.

Syntax

var objectRef = WinJS.Application.temp;

Members

The temp object has these types of members:

  • Methods

Methods

The temp object has these methods.

Method Description
exists

Determines whether the specified file exists in the folder.

readText

Reads the specified file. If the file doesn't exist, the specified default value is returned.

remove

Deletes a file from the app's temporary storage.

writeText

Writes the specified text to the specified file.

 

Requirements

Minimum WinJS version

WinJS 1.0

Namespace

WinJS.Application