Gets or sets the element at the specified index.
Namespace:
Mindscape.LightSpeedAssembly: Mindscape.LightSpeed (in Mindscape.LightSpeed.dll)
Version: 4.0.0.0 (4.0.0.0)
Syntax
C# |
---|
public TTarget this[ int index ] { get; set; } |
Visual Basic (Declaration) |
---|
Public Default Property Item ( _ index As Integer _ ) As TTarget |
Parameters
- index
- Type: System..::.Int32
The zero-based index of the element to get or set.
Return Value
The element at the specified index.Implements
IList<(Of <(T>)>)..::.Item[([(Int32])])Exceptions
Exception | Condition |
---|---|
System..::.ArgumentOutOfRangeException | index is not a valid index in the IList<(Of <(T>)>). |
System..::.NotSupportedException | The property is set and the IList<(Of <(T>)>) is read-only. |