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

定义

获取一个集合,该集合包含字典中的值。

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

属性值

包含字典中的值的集合。

实现

注解

此成员是显式接口成员实现。 仅当实例强制转换为ReadOnlyDictionary<TKey,TValue>接口时IDictionary,才能使用它。

适用于