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

適用於