Del via


EntityCollection.TotalRecordCount-egenskab

Gets the total number of records in the collection.ReturnTotalRecordCount was true when the query was executed .

Navneområde: Microsoft.Xrm.Sdk
Assembly: Microsoft.Xrm.Sdk (i Microsoft.Xrm.Sdk.dll)

Syntaks

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

Egenskabsværdi

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

Bemærkninger

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

Sikkerhed i tråd

Alle offentlige statiske (Shared i Visual Basic) medlemmer af denne type er trådsikret. Alle medlemmer af forekomsten er ikke garanteret trådsikkerhed.

Platforme

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

Se også

Reference

EntityCollection-klasse
EntityCollection-medlemmer
Microsoft.Xrm.Sdk-navneområde
ReturnTotalRecordCount

Andre ressourcer

Use the QueryExpression Class

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