getCount method

IListDataAdapter.getCount method

Applies to Windows and Windows Phone

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

 

 

Show:
© 2016 Microsoft