语言

Collection<T>.Items 属性

定义

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) 操作。

适用于