語言

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) 操作。

適用於