Inserts an item to the IList<(Of <(<'T>)>)> at the specified index.
            
Namespace: CodeSmith.EngineAssembly: CodeSmith.Engine (in CodeSmith.Engine.dll) Version: 6.0.0.0 (7.0.0.15127)
Syntax
| C# | 
|---|
public void Insert( int index, T item )  | 
| Visual Basic | 
|---|
Public Sub Insert ( index As Integer, item As T )  | 
Parameters
- index
 - Type: System..::..Int32
The zero-based index at which item should be inserted. 
- item
 - Type: T
The object to insert into the IList<(Of <(<'T>)>)>. 
Implements
IList<(Of <(<'T>)>)>..::..Insert(Int32, T)
Exceptions
| Exception | Condition | 
|---|---|
| System..::..ArgumentOutOfRangeException | index is not a valid index in the IList<(Of <(<'T>)>)>. | 
| System..::..NotSupportedException | The IList<(Of <(<'T>)>)> is read-only. |