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

LazyListGeneric<T>.Insert Method 

Inserts an item to the IList`1 at the specified index.

[Visual Basic]
NotOverridable Public Sub Insert( _
   ByVal Int32 As Integer, _
   ByVal LazyListGeneric<T>.T As `0 _
) _
    Implements IList<T>.
[C#]
public void Insert(
   Int32 index,
   LazyListGeneric<T>.T item
);

Parameters

index
The zero-based index at which item should be inserted.
item
The object to insert into the IList`1.

Implements

IList<T>.

Exceptions

Exception Type Condition
NotSupportedException The IList`1 is read-only.
ArgumentOutOfRangeException index is not a valid index in the IList`1.

See Also

LazyListGeneric<T> Class | IBatisNet.DataMapper.Proxy Namespace