語言

ConcurrentDictionary<TKey,TValue>.Values 屬性

定義

會得到一個包含 中 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)

屬性值

ICollection<TValue>

一個包含 中 Dictionary<TKey,TValue>值的集合。

實作

備註

屬性會回傳所有值的副本。 它沒有與 保持同步 ConcurrentDictionary<TKey,TValue>。

適用於

另請參閱