Windows Dev Center

IListDataAdapter.itemsFromEnd method

Applies to Windows and Windows Phone

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 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

IListDataAdapter

 

 

Show:
© 2015 Microsoft