IListDataSource.itemFromDescription method

Applies to Windows and Windows Phone

Retrieves the item that has the specified description.

Syntax


iListDataSource.itemFromDescription(description).done( /* Your success and error handlers */ );

Parameters

description

Type: Object

Domain-specific information, to be interpreted by the IListDataAdapter, that describes the item to retrieve.

Return value

Type: Promise

A Promise that provides an IItem that contains the requested item or a FetchError if an error was encountered. If the item wasn't found, the promise completes with a value of null.

Requirements

Minimum supported client

Windows 8 [Windows Store apps only]

Minimum supported server

Windows Server 2012 [Windows Store apps only]

Minimum supported phone

Windows Phone 8.1

Namespace

WinJS.UI

See also

IListDataSource

 

 

Show:
© 2015 Microsoft