다음을 통해 공유


local.remove method

Deletes a file from the folder.

Syntax

var promise = WinJS.Application.local.remove(fileName);

Parameters

  • fileName
    Type: String

    The file to be deleted.

Return value

Type: Promise

A promise that is fulfilled when the file has been deleted.

Requirements

Minimum WinJS version

WinJS 1.0

Namespace

WinJS.Application

See also

local