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

IListDataSource

 

 

Show:
© 2014 Microsoft