Compartir a través de


IListDataSource.remove method

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