Inserts an item to the IList<(Of <(T>)>)
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 void Insert( int index, TTarget item ) |
| Visual Basic (Declaration) |
|---|
Public Sub Insert ( _ index As Integer, _ item As TTarget _ ) |
Parameters
- index
- Type: System..::.Int32
The zero-based index at which item should be inserted.
- item
- Type: TTarget
The object to insert into the IList<(Of <(T>)>).
Implements
IList<(Of <(T>)>)..::.Insert(Int32, T)
Exceptions
| Exception | Condition |
|---|---|
| System..::.NotSupportedException | The IList<(Of <(T>)>) is read-only. |
| System..::.ArgumentOutOfRangeException | index is not a valid index in the IList<(Of <(T>)>). |