DictionaryBase.Count 属性
定义
获取 DictionaryBase 实例中包含的元素数。Gets the number of elements contained in the DictionaryBase instance.
public:
property int Count { int get(); };
public int Count { get; }
member this.Count : int
Public ReadOnly Property Count As Integer
属性值
DictionaryBase 实例中包含的元素数。The number of elements contained in the DictionaryBase instance.
实现
注解
检索此属性的值是一个 O(1) 运算。Retrieving the value of this property is an O(1) operation.