EntityCollection.TotalRecordCount Property
Applies To: Dynamics CRM 2015
Gets the total number of records in the collection.ReturnTotalRecordCount was true when the query was executed .
Namespace: Microsoft.Xrm.Sdk
Assembly: Microsoft.Xrm.Sdk (in Microsoft.Xrm.Sdk.dll)
Syntax
[DataMemberAttribute]
public int TotalRecordCount { get; set; }
public:
[DataMemberAttribute]
property int TotalRecordCount {
int get();
void set(int value);
}
[<DataMemberAttribute>]
member TotalRecordCount : int with get, set
<DataMemberAttribute>
Public Property TotalRecordCount As Integer
Property Value
Type: System.Int32
Type: Int32
The total number of records in the collection.
Remarks
If ReturnTotalRecordCount was false when the query was executed, the value of this property will be -1.
See Also
ReturnTotalRecordCount
EntityCollection Class
Microsoft.Xrm.Sdk Namespace
Use the QueryExpression class
Return to top
© 2016 Microsoft. All rights reserved. Copyright