SALES: 1-800-867-1380

ITotalCountProvider Interface

Updated: June 25, 2013

Used to access the total count of all records that returned by a query, ignoring any paging requirements.

Namespace:  Microsoft.WindowsAzure.MobileServices
Assembly:  Microsoft.WindowsAzure.Mobile (in Microsoft.WindowsAzure.Mobile.dll)

public interface ITotalCountProvider

The ITotalCountProvider type exposes the following members.

  NameDescription
Public propertyTotalCountGets the total count of all records that returned by a query, ignoring any paging requirements, when requested by the client.
Top

The ITotalCountProvider interface provides the total count for all the records that would have been returned ignoring any take paging/limit clause specified by client or server. When you call the IncludeTotalCount method on the MobileServiceTableQuery, you can cast the query result to an ITotalCountProvider instance and access the count from the TotalCount property.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft