EntityCollection.TotalRecordCount Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the total number of records in the collection.ReturnTotalRecordCount was true
when the query was executed .
public:
property int TotalRecordCount { int get(); void set(int value); };
[System.Runtime.Serialization.DataMember]
public int TotalRecordCount { get; set; }
[<System.Runtime.Serialization.DataMember>]
member this.TotalRecordCount : int with get, set
Public Property TotalRecordCount As Integer
Property Value
The total number of records in the collection.
- Attributes
Remarks
If ReturnTotalRecordCount was false
when the query was executed, the value of this property will be -1.