ImmutableArray<T>::IReadOnlyList<T>::Item Property (Int32)
Gets the element at the specified index.
Assembly: System.Collections.Immutable (in System.Collections.Immutable.dll)
private: property T default[ int index ] { virtual T get(int index) sealed = IReadOnlyList<T>::default::get; }
Parameters
- index
-
Type:
System::Int32
The index.
Implements
IReadOnlyList<T>::Item[Int32]| Exception | Condition |
|---|---|
| InvalidOperationException | Thrown if the IsDefault property returns true. |
Show: