ConcurrentDictionary<TKey,TValue>.Keys Propriété
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Obtient une collection contenant les clés dans le 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)
Valeur de propriété
Collection de clés dans le Dictionary<TKey,TValue>.
Implémente
Remarques
La propriété retourne une copie de toutes les clés. Elle n’est pas synchronisée avec ConcurrentDictionary<TKey,TValue>.