語言

SortedDictionary<TKey,TValue>.KeyCollection.Count 屬性

定義

得到包含於 的 SortedDictionary<TKey,TValue>.KeyCollection元素數量。

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

屬性值

包含於 SortedDictionary<TKey,TValue>.KeyCollection的元素數量。

實作

備註

取得此性質的值需進行 O(1) 運算。

適用於