SortedDictionary<TKey,TValue>.Count 属性
定义
获取包含在 SortedDictionary<TKey,TValue> 中的键/值对的数目。Gets the number of key/value pairs contained in the 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> 中的键/值对的数目。The number of key/value pairs contained in the SortedDictionary<TKey,TValue>.
实现
注解
获取此属性的值是一个 O (1) 操作。Getting the value of this property is an O(1) operation.