共用方式為


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> 中的索引鍵集合。

實作

適用於

另請參閱