IReadOnlyList(T).Item Property
Collapse the table of content
Expand the table of content

ArraySegment(Of T).IReadOnlyList(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 of the array segment.

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

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

Parameters

index
Type: System.Int32
The zero-based index of the element to get.

Property Value

Type: T
The element at the specified index.

Implements

IReadOnlyList(Of T).Item(Int32)

ExceptionCondition
ArgumentOutOfRangeException

index is not a valid index in the ArraySegment(Of T).

NotSupportedException

The property is set.

This member is an explicit interface member implementation. It can be used only when the ArraySegment(Of T) instance is cast to an IReadOnlyList(Of T) interface.

Windows Phone OS

Supported in: 8.1, 8.0

Show:
© 2017 Microsoft