ListCollectionTInsertItem Method

Inserts an element into the CollectionT at the specified index.

Definition

Namespace: Gemstone.Collections
Assembly: Gemstone.Common (in Gemstone.Common.dll) Version: 1.0.141 -- Release Build+8fc1477299d57116e2a4f3cb8dfe059f814b239b
protected override void InsertItem(
	int index,
	T item
)

Parameters

index  Int32
The zero-based index at which item should be inserted.
item  T
The object to insert. The value can be null for reference types.

Exceptions

ArgumentOutOfRangeExceptionindex is less than zero.-or-index is greater than Count.

See Also