BaseCollection.Count 属性

定义

获取集合中的总元素数。Gets the total number of elements in the collection.

public:
 virtual property int Count { int get(); };
[System.ComponentModel.Browsable(false)]
public virtual int Count { get; }
[<System.ComponentModel.Browsable(false)>]
member this.Count : int
Public Overridable ReadOnly Property Count As Integer

属性值

Int32

集合中的总元素数。The total number of elements in the collection.

实现

属性

适用于