Share via


Collection<T>.Items Property

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Gets a IList<T> wrapper around the Collection<T>.

Namespace:  System.Collections.ObjectModel
Assembly:  mscorlib (in mscorlib.dll)

Syntax

'Declaration
Protected ReadOnly Property Items As IList(Of T)
protected IList<T> Items { get; }

Property Value

Type: System.Collections.Generic.IList<T>
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.

Version Information

Silverlight

Supported in: 5, 4, 3

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1, Windows Phone OS 7.0

XNA Framework

Supported in: Xbox 360, Windows Phone OS 7.0

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.