Jaa


EntityCollection.TotalRecordCount Property

Definition

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.

Applies to

See also