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

适用于