Collection<T>.Items 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
IList<T>获取围绕 . 的Collection<T>包装器。
protected:
property System::Collections::Generic::IList<T> ^ Items { System::Collections::Generic::IList<T> ^ get(); };
protected System.Collections.Generic.IList<T> Items { get; }
member this.Items : System.Collections.Generic.IList<'T>
Protected ReadOnly Property Items As IList(Of T)
属性值
周围有IList<T>一个Collection<T>包装器。
注解
包装器提供类的功能 IList<T> ,并公开该类的所有元素 Collection<T>。
检索此属性的值是 O(1) 操作。