語言

DataKeyCollection.Count 屬性

定義

取得集合中的項目數目。

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

屬性值

收藏品數量。

實作

備註

利用該 Count 屬性來決定收藏品的數量。 此性質常用於遍歷集合以求上界。

適用於