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

適用於