語言

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) 運算。

適用於