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.110 -- Release Build+3e0464f4461df4d3e1175b13966eb47ff832554d
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