[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]
Assembly: NEsper (in NEsper.dll)
Inserts an item to the IList<(Of T>) at the specified index.
Namespace: net.esper.compat
Assembly: NEsper (in NEsper.dll)
Syntax
Visual Basic (Declaration) |
---|
Public Sub Insert ( _ index As Integer, _ item As T _ ) |
C# |
---|
public void Insert ( int index, T item ) |
Visual C++ |
---|
public: virtual void Insert ( int index, T item ) sealed |
Parameters
- index
- System.Int32
The zero-based index at which item should be inserted.
- item
- T type parameter of net.esper.compat.ReadOnlyList<(Of T>).
The object to insert into the IList<(Of 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>). |