Bewerken

Share via


Collection<T>.Items Property

Definition

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)

Property Value

A IList<T> wrapper around the Collection<T>.

Remarks

The wrapper provides the functionality of the IList<T> class and exposes all the elements of the Collection<T>.

Retrieving the value of this property is an O(1) operation.

Applies to