InternalDataCollectionBase.Count 属性

定义

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

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

属性值

Int32

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

实现

属性

注解

BaseCollection类及其成员不能用作独立组件,而是用作其他集合类从中派生标准功能的类。The BaseCollection class and its members are not intended for use as a stand-alone component, but as the class from which other collection classes derive standard functionality.

适用于