ConcurrentDictionary<TKey,TValue>.Keys 属性

定义

获得一个包含 Dictionary<TKey,TValue> 中的键的集合。

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

属性值

ICollection<TKey>

Dictionary<TKey,TValue> 中的键的集合。

实现

适用于

另请参阅