DataKeyCollection.Count プロパティ

定義

コレクション内の項目の数を取得します。

public:
 property int Count { int get(); };
public int Count { get; }
member this.Count : int
Public ReadOnly Property Count As Integer

プロパティ値

Int32

コレクション内の項目数。

実装

注釈

このプロパティを Count 使用して、コレクション内の項目の数を決定します。 このプロパティは、通常、コレクションを反復処理して上限を決定するときに使用されます。

適用対象