次の方法で共有


EntityCollection.TotalRecordCount プロパティ

適用対象: CRM 2015 on-prem, CRM Online

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

名前空間: Microsoft.Xrm.Sdk
アセンブリ: Microsoft.Xrm.Sdk (Microsoft.Xrm.Sdk.dll に含まれる)

構文

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

プロパティ値

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

備考

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

スレッド セーフ

この種類のパブリックな静的 (Visual Basic では Shared) メンバーはスレッド セーフです。インスタンス メンバーがスレッド セーフであることは保証されません。

プラットフォーム

開発プラットフォーム

Windows Vista、Windows Server 2003、および

対象プラットフォーム

Windows Vista、Windows XP

関連項目

参照

EntityCollection クラス
EntityCollection のメンバー
Microsoft.Xrm.Sdk 名前空間
ReturnTotalRecordCount

他のリソース

Use the QueryExpression Class

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