ArrangedElementCollection.Count 屬性

定義

取得集合中的項目數。Gets the number of elements in the collection.

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

屬性值

集合中目前包含的項目數。The number of elements currently contained in the collection.

實作

備註

必要時, 集合的容量會動態增加以接受更多元素。When required, the capacity of the collection will dynamically increase to accept more elements.

適用於

另請參閱