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

定義

取得 SortedDictionary<TKey,TValue>.ValueCollection 中所包含的項目數。

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

屬性值

SortedDictionary<TKey,TValue>.ValueCollection 中所包含的項目數。

實作

備註

擷取這個屬性的值是一種 O(1) 運算。

適用於