getCount method

IListDataSource.getCount method

Applies to Windows and Windows Phone

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

 

 

Show:
© 2017 Microsoft