IReadOnlyDictionary<TKey,TValue>.Values IReadOnlyDictionary<TKey,TValue>.Values IReadOnlyDictionary<TKey,TValue>.Values IReadOnlyDictionary<TKey,TValue>.Values Property

定义

获取包含只读字典中的值的可枚举集合。Gets an enumerable collection that contains the values in the read-only dictionary.

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

属性值

IEnumerable<TValue>

包含只读字典中的值的可枚举集合。An enumerable collection that contains the values in the read-only dictionary.

注解

可枚举集合中值的顺序是未指定的,但实现必须保证值的顺序与 Keys 属性返回的可枚举集合中对应键的顺序相同。The order of the values in the enumerable collection is unspecified, but the implementation must guarantee that the values are in the same order as the corresponding keys in the enumerable collection that is returned by the Keys property.

适用于