ImmutableList<T>.IList<T>.Item Property

Gets or sets the element at the specified index.

Namespace:  System.Collections.Immutable
Assembly:  System.Collections.Immutable (in System.Collections.Immutable.dll)

T IList<T>.this[
	int index
] { get; set; }

Parameters

index
Type: System.Int32

The index of the item to get or set.

Property Value

Type: T
The element at the specified index. If no item was returned, the property throws a NotSupportedException.

Implements

IList<T>.Item

This member is an explicit interface member implementation. It can be used only when the ImmutableList<T> instance is cast to an IList<T> interface.

Show: