ArrangedElementCollection.Count ArrangedElementCollection.Count ArrangedElementCollection.Count ArrangedElementCollection.Count Property

定义

获取集合中的元素数。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.

适用于

另请参阅