Dela via


roaming.exists method

Determines whether the specified file exists in the roaming storage.

Syntax

var promise = WinJS.Application.roaming.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 WinJS version

WinJS 1.0

Namespace

WinJS.Application

See also

roaming