ReadOnlyDictionary<TKey,TValue>.IDictionary.Keys ReadOnlyDictionary<TKey,TValue>.IDictionary.Keys ReadOnlyDictionary<TKey,TValue>.IDictionary.Keys Property

定義

取得集合,其中包含字典的索引鍵。Gets a collection that contains the keys of the dictionary.

property System::Collections::ICollection ^ System::Collections::IDictionary::Keys { System::Collections::ICollection ^ get(); };
System.Collections.ICollection System.Collections.IDictionary.Keys { get; }
 ReadOnly Property Keys As ICollection Implements IDictionary.Keys

屬性值

集合,包含字典的索引鍵。A collection that contains the keys of the dictionary.

實作

備註

這個成員是明確介面成員實作,This member is an explicit interface member implementation. 只有在 ReadOnlyDictionary<TKey,TValue> 執行個體轉換成 IDictionary 介面時,才能使用這個成員。It can be used only when the ReadOnlyDictionary<TKey,TValue> instance is cast to an IDictionary interface.

適用於