itemsFromDescription method

IListDataAdapter.itemsFromDescription method

Applies to Windows and Windows Phone

Retrieves the item that matches the specified description and also retrieves the specified number of items before and after the matched item.

Syntax


iListDataAdapter.itemsFromDescription(description, countBefore, countAfter).done( /* Your success and error handlers */ );

Parameters

description

Type: Object

A description of the item to locate.

countBefore

Type: Number

The number of items before the matched item to retrieve.

countAfter

Type: Number

The number of items after the matched item to retrieve.

Return value

Type: Promise

A Promise that provides an IFetchResult that contains the selected items or a FetchError if an error was encountered.

Requirements

Minimum WinJS version

WinJS 3.0

Namespace

WinJS.UI

See also

IListDataAdapter

 

 

Show:
© 2017 Microsoft