ConcurrentDictionary<TKey,TValue>.Keys Eigenschap

Definitie

Hiermee haalt u een verzameling op met de sleutels in 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)

Waarde van eigenschap

ICollection<TKey>

Een verzameling sleutels in de Dictionary<TKey,TValue>.

Implementeringen

Opmerkingen

De eigenschap retourneert een kopie van alle sleutels. Het wordt niet gesynchroniseerd met ConcurrentDictionary<TKey,TValue>.

Van toepassing op

Zie ook