共用方式為


DataKeyCollection.Count 屬性

定義

會取得收藏中的物品數量。

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

屬性值

收藏品數量。

實作

備註

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

適用於