Partager via


IListDataSource.getCount method

Retrieves the number of items in the data source.

Syntax

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

Parameters

This method has no parameters.

Return value

Type: Promise**

A Promise that provides a Number that is the number of items in the data source.

Requirements

Minimum WinJS version

WinJS 3.0

Namespace

WinJS.UI

See also

IListDataSource