NameObjectCollectionBase.KeysCollection.Count 屬性

定義

取得 NameObjectCollectionBase.KeysCollection 中的索引鍵數目。

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

屬性值

NameObjectCollectionBase.KeysCollection 中的索引鍵數目。

實作

備註

擷取這個屬性的值是一種 O(1) 運算。

適用於