Share via


IListBinding.fromDescription method

Retrieves the item from the IListDataSource that has the specified description and makes it the current item.

Syntax

iListBinding.fromDescription(description).done( /* Your success and error handlers */ );

Parameters

  • description
    Type: String

    A domain-specific description, to be interpreted by the IListDataAdapter, that identifies the item to retrieve.

Return value

Type: IItemPromise**

An IItemPromise that contains the requested IItem object. If the item wasn't found, the promise completes with a value of null.

Requirements

Minimum WinJS version

WinJS 3.0

Namespace

WinJS.UI

See also

IListBinding