Compartir a través de


IListDataAdapter.itemsFromEnd method

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

Syntax

iListDataAdapter.itemsFromEnd(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