Dictionary<TKey,TValue>.ValueCollection.Count Dictionary<TKey,TValue>.ValueCollection.Count Dictionary<TKey,TValue>.ValueCollection.Count Dictionary<TKey,TValue>.ValueCollection.Count Property

定义

获取 Dictionary<TKey,TValue>.ValueCollection 中包含的元素数。Gets the number of elements contained in the Dictionary<TKey,TValue>.ValueCollection.

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

属性值

Dictionary<TKey,TValue>.ValueCollection 中包含的元素数。The number of elements contained in the Dictionary<TKey,TValue>.ValueCollection.

实现

注解

检索此属性的值的运算复杂度为 O(1)。Retrieving the value of this property is an O(1) operation.

适用于