ReadOnlyDictionary<TKey,TValue>.IDictionary.Values 属性

定义

获取包含字典中的值的集合。Gets a collection that contains the values in the dictionary.

property System::Collections::ICollection ^ System::Collections::IDictionary::Values { System::Collections::ICollection ^ get(); };
System.Collections.ICollection System.Collections.IDictionary.Values { get; }
member this.System.Collections.IDictionary.Values : System.Collections.ICollection
 ReadOnly Property Values As ICollection Implements IDictionary.Values

属性值

ICollection

包含字典中的值的集合。A collection that contains the values in the dictionary.

实现

注解

此成员是显式接口成员的实现。This member is an explicit interface member implementation. 它只能在 ReadOnlyDictionary<TKey,TValue> 实例被强制转换为 IDictionary 接口时使用。It can be used only when the ReadOnlyDictionary<TKey,TValue> instance is cast to an IDictionary interface.

适用于