QueryCompletedResult.TotalCount Property
[WCF RIA Services Version 1 Service Pack 2 is compatible with either .NET framework 4 or .NET Framework 4.5, and with either Silverlight 4 or Silverlight 5.]
Gets the total number of rows for the original query without any paging applied to it.
Namespace: System.ServiceModel.DomainServices.Client
Assembly: System.ServiceModel.DomainServices.Client (in System.ServiceModel.DomainServices.Client.dll)
Syntax
'Declaration
Public ReadOnly Property TotalCount As Integer
Get
'Usage
Dim instance As QueryCompletedResult
Dim value As Integer
value = instance.TotalCount
public int TotalCount { get; }
public:
property int TotalCount {
int get ();
}
member TotalCount : int
function get TotalCount () : int
Property Value
Type: System.Int32
The total number of rows for the original query, or -1 if the server does not support total counts.
Remarks
If the value is -1, the server does not support total counts.