Property this
this[int]
Gets or sets the element at the specified index.
public override object? this[int index] { get; set; }
Parameters
indexintThe zero-based index of the element to get or set.
Property Value
- object
The element at the specified index.
Exceptions
- ArgumentOutOfRangeException
indexis not a valid index in the IList.- NotSupportedException
The property is set and the IList is read-only.