ConcurrentDictionary<TKey,TValue>.Keys Propiedad

Definición

Obtiene una colección que contiene las claves de .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)

Valor de propiedad

ICollection<TKey>

Colección de claves de .Dictionary<TKey,TValue>

Implementaciones

Comentarios

La propiedad devuelve una copia de todas las claves. No se mantiene sincronizado con ConcurrentDictionary<TKey,TValue>.

Se aplica a

Consulte también