InternalDataCollectionBase.Count 屬性

定義

取得集合中的項目總數。Gets the total number of elements in a 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 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.

適用於