DictionaryBase.Count 屬性

定義

取得 DictionaryBase 執行個體中包含的元素數目。Gets the number of elements contained in the DictionaryBase instance.

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

屬性值

Int32

DictionaryBase 執行個體中包含的元素數目。The number of elements contained in the DictionaryBase instance.

實作

備註

抓取這個屬性的值是一項作業 O(1)Retrieving the value of this property is an O(1) operation.

適用於