SortedList.Values 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取对象中的 SortedList 值。
public:
virtual property System::Collections::ICollection ^ Values { System::Collections::ICollection ^ get(); };
public virtual System.Collections.ICollection Values { get; }
member this.Values : System.Collections.ICollection
Public Overridable ReadOnly Property Values As ICollection
属性值
一个 ICollection 对象,包含对象中的 SortedList 值。
实现
注解
该 ICollection 对象是对象的值的 SortedList 只读视图。 对基础 SortedList 进行的修改立即反映在中 ICollection。
元素 ICollection 的排序顺序与值 SortedList的顺序相同。
此属性类似于 GetValueList 该方法,但返回对象 ICollection 而不是 IList 对象。
此方法是一个 O(1) 操作。