NameObjectCollectionBase.KeysCollection.Count NameObjectCollectionBase.KeysCollection.Count NameObjectCollectionBase.KeysCollection.Count NameObjectCollectionBase.KeysCollection.Count Property

定义

获取 NameObjectCollectionBase.KeysCollection 中的键数。Gets the number of keys in the NameObjectCollectionBase.KeysCollection.

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

属性值

实现

注解

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

适用于