ConcurrentDictionary<TKey,TValue>.Keys Egenskap

Definition

Hämtar en samling som innehåller nycklarna i 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)

Egenskapsvärde

ICollection<TKey>

En samling nycklar i Dictionary<TKey,TValue>.

Implementeringar

Kommentarer

Egenskapen returnerar en kopia av alla nycklar. Den är inte synkroniserad med ConcurrentDictionary<TKey,TValue>.

Gäller för

Se även