QueryOperationResponse<T>.TotalCount Property
The server result set count value from a query, if the query has requested the value.
Namespace: System.Data.Services.Client
Assembly: Microsoft.Data.Services.Client (in Microsoft.Data.Services.Client.dll)
Syntax
'Declaration
Public Overrides ReadOnly Property TotalCount As Long
Get
'Usage
Dim instance As QueryOperationResponse
Dim value As Long
value = instance.TotalCount
public override long TotalCount { get; }
public:
virtual property long long TotalCount {
long long get () override;
}
abstract TotalCount : int64
override TotalCount : int64
override function get TotalCount () : long
Property Value
Type: System.Int64
The return value can be either zero or a positive value equal to the number of entities in the set on the server.
Remarks
InvalidOperationException is thrown when the count was not part of the original request; that is, if the count tag is not found in the response stream.