Bewerken

Share via


ConcurrentDictionary<TKey,TValue>.Values Property

Definition

Gets a collection that contains the values in the Dictionary<TKey,TValue>.

public:
 property System::Collections::Generic::ICollection<TValue> ^ Values { System::Collections::Generic::ICollection<TValue> ^ get(); };
public System.Collections.Generic.ICollection<TValue> Values { get; }
member this.Values : System.Collections.Generic.ICollection<'Value>
Public ReadOnly Property Values As ICollection(Of TValue)

Property Value

ICollection<TValue>

A collection that contains the values in the Dictionary<TKey,TValue>.

Implements

Remarks

The property returns a copy of all the values. It's not kept in sync with ConcurrentDictionary<TKey,TValue>.

Applies to

See also