remove method
Collapse the table of content
Expand the table of content

local.remove method

Applies to Windows and Windows Phone

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

 

 

Show:
© 2016 Microsoft