SortedDictionary<TKey,TValue>.Count 屬性

定義

取得 SortedDictionary<TKey,TValue> 中所包含的索引鍵/值組數目。

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

屬性值

SortedDictionary<TKey,TValue> 中所包含的索引鍵/值組數目。

實作

備註

取得此屬性的值是 O (1) 作業。

適用於