ListCollectionTInsert Method

Inserts an item to the IListT at the specified index.

Definition

Namespace: Gemstone.Collections
Assembly: Gemstone.Common (in Gemstone.Common.dll) Version: 1.0.128 -- Release Build+d050cfc5563c89a1188cc3c6b2d417530856f490
public void Insert(
	int index,
	T item
)

Parameters

index  Int32
The zero-based index at which item should be inserted.
item  T
The object to insert into the IListT.

Implements

IListTInsert(Int32, T)

Exceptions

ArgumentOutOfRangeExceptionindex is not a valid index in the IListT.
NotSupportedExceptionThe IListT is read-only.

See Also