IList(T).Item Property

SynchronizedReadOnlyCollection(Of T).IList(Of T).Item Property

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Gets the element at the specified index.

Namespace:  System.Collections.Generic
Assembly:  System.ServiceModel (in System.ServiceModel.dll)

'Declaration
Private Property Item ( _
	index As Integer _
) As T Implements IList(Of T).Item

Parameters

index
Type: System.Int32
The zero-based index of the element to be retrieved from the collection.

Property Value

Type: T
The element of type T at the specified index.

Implements

IList(Of T).Item(Int32)

ExceptionCondition
NotSupportedException

Items cannot be set in a read only collection.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2017 Microsoft