iBATIS.NET Class Library DataMapper V1.6.1, DataAccess V1.9.1

LazyList.Insert Method 

Inserts an item to the IList at the specified index.

[Visual Basic]
NotOverridable Public Sub Insert( _
   ByVal Int32 As Integer, _
   ByVal Object As Object _
) _
    Implements IList.
[C#]
public void Insert(
   Int32 index,
   Object value
);

Parameters

index
The zero-based index at which value should be inserted.
value
The Object to insert into the IList.

Implements

IList.

Exceptions

Exception Type Condition
ArgumentOutOfRangeException index is not a valid index in the IList.
NotSupportedException The IList is read-only.-or- The IList has a fixed size.
NullReferenceException value is null reference in the IList.

See Also

LazyList Class | IBatisNet.DataMapper.Proxy Namespace