Collection<T>.Items 属性

定义

获取 IList<T> 周围的 Collection<T> 包装。Gets a IList<T> wrapper around the 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> 包装。A IList<T> wrapper around the Collection<T>.

注解

包装器提供 IList<T> 类的功能并公开 Collection<T>的所有元素。The wrapper provides the functionality of the IList<T> class and exposes all the elements of the Collection<T>.

检索此属性的值的运算复杂度为 O(1)。Retrieving the value of this property is an O(1) operation.

适用于