Interface IReadOnlyIndexed
Interface for indexable objects.
Namespace: System.Memory
Assembly: Nuqleon.Memory.dll
Syntax
public interface IReadOnlyIndexed
Properties
Item[Int32]
Gets the element at the specified index.
Declaration
object this[int index] { get; }
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index | Index of the element to retrieve. |
Property Value
Type | Description |
---|---|
System.Object | The element at the specified index. |
Exceptions
Type | Condition |
---|---|
System.ArgumentOutOfRangeException | Thrown if the specified index falls out of the boundaries of the object. |