WinJS.Application.local object

Applies to Windows and Windows Phone

The local storage of the application.

Syntax


var objectRef = WinJS.Application.local;

Members

The local object has these types of members:

Methods

The local object has these methods.

MethodDescription
exists

Determines whether the specified file exists in local storage for the app.

readText

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

remove

Deletes a file from the folder.

writeText

Writes the specified text to the specified file.

 

Requirements

Minimum supported client

Windows 8 [Windows Store apps only]

Minimum supported server

Windows Server 2012 [Windows Store apps only]

Minimum supported phone

Windows Phone 8.1

Namespace

WinJS.Application

Library

Base.js

 

 

Show:
© 2014 Microsoft