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.
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.
Implements
IReadOnlyList(Of T).Item(Int32)| Exception | Condition |
|---|---|
| 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.
Show: