Partager via


IListDataAdapter.itemsFromStart method

Retrieves the specified number of items from the beginning of the IListDataAdapter object's data source.

Syntax

iListDataAdapter.itemsFromStart(count).done( /* Your success and error handlers */ );

Parameters

  • count
    Type: Number

    The number of items 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