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.

适用于

另请参阅