ConcurrentDictionary<TKey,TValue>.Values 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取一个集合,该集合包含 . 中的 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>。