Поделиться через


IListDataAdapter.getCount method

Gets the number of items in the IListDataAdapter object's data source.

Syntax

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

Parameters

This method has no parameters.

Return value

Type: Promise**

A Promise that contains the number of items the IListDataAdapter contains, or an approximate value if the actual number is unknown.

Requirements

Minimum WinJS version

WinJS 3.0

Namespace

WinJS.UI

See also

IListDataAdapter