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)

type ITotalCountProvider = interface end

NameDescription
System_CAPS_pubpropertyTotalCount

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

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 M:Microsoft.WindowsAzure.MobileServices.MobileServiceTableQuery`1.IncludeTotalCount method on the T:Microsoft.WindowsAzure.MobileServices.MobileServiceTableQuery`1, you can cast the query result to an ITotalCountProvider instance and access the count from the TotalCount property.

Return to top
Show: