Windows Dev Center

EN
Dieser Inhalt ist in Ihrer Sprache leider nicht verfügbar. Im Folgenden finden Sie die englische Version.

local.exists method

Applies to Windows and Windows Phone

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

Syntax


var promise = WinJS.Application.local.exists(filename);

Parameters

filename

Type: String

The name of the file.

Return value

Type: Promise

A promise that completes with a value of either true (if the file exists) or false.

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

Winjs.js

See also

local

 

 

Anzeigen:
© 2015 Microsoft