DictionaryBase.Count 屬性

定義

取得 DictionaryBase 執行個體中包含的元素數目。

public:
 property int Count { int get(); };
public int Count { get; }
member this.Count : int
Public ReadOnly Property Count As Integer

屬性值

DictionaryBase 執行個體中包含的元素數目。

實作

備註

擷取這個屬性的值是 O(1) 作業。

適用於