Freigeben über


EntityCollection.TotalRecordCount Eigenschaft

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

'Declaration
<DataMemberAttribute> _
Public Property TotalRecordCount As Integer
[DataMemberAttribute] 
public int TotalRecordCount { get; set; }

Eigenschaftswert

Type: Int32
The total number of records in the collection.

Anmerkungen

If ReturnTotalRecordCount was false when the query was executed, the value of this property will be -1.

Thread-Sicherheit

Alle öffentlichen statischen Mitglieder (Shared in Visual Basic) dieses Typs sind thread-sicher. Bei Instanzmitgliedern kann keine Garantie für die Thread-Sicherheit übernommen werden.

Plattformen

Development Platforms

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

Target Platforms

Windows Server 2008,Windows Server 2012,Windows 7

Siehe auch

Referenz

EntityCollection Klasse
EntityCollection Mitglieder
Microsoft.Xrm.Sdk Namespace
ReturnTotalRecordCount

Weitere Ressourcen

Use the QueryExpression Class

Send comments about this topic to Microsoft.
© 2015 Microsoft. All rights reserved.