ReadOnlyDictionary<TKey,TValue>.IDictionary<TKey,TValue>.Keys 属性

定义

获取包含词典中的键的集合。

property System::Collections::Generic::ICollection<TKey> ^ System::Collections::Generic::IDictionary<TKey,TValue>::Keys { System::Collections::Generic::ICollection<TKey> ^ get(); };
System.Collections.Generic.ICollection<TKey> System.Collections.Generic.IDictionary<TKey,TValue>.Keys { get; }
member this.System.Collections.Generic.IDictionary<TKey,TValue>.Keys : System.Collections.Generic.ICollection<'Key>
 ReadOnly Property Keys As ICollection(Of TKey) Implements IDictionary(Of TKey, TValue).Keys

属性值

ICollection<TKey>

一个集合,其中包含实现 ReadOnlyDictionary<TKey,TValue> 的对象的键。

实现

适用于