remove method

IListDataSource.remove method

Applies to Windows and Windows Phone

Removes the specified item from the data source.

Syntax


iListDataSource.remove(key).done( /* Your success and error handlers */ );

Parameters

key

Type: String

The key that identifies the item to remove.

Return value

Type: Promise

A Promise that contains nothing if the operation was successful or an EditError if an error was encountered.

Requirements

Minimum WinJS version

WinJS 3.0

Namespace

WinJS.UI

See also

IListDataSource

 

 

Show:
© 2017 Microsoft