ListCollectionTSetItem Method

Replaces the element at the specified index.

Definition

Namespace: Gemstone.Collections
Assembly: Gemstone.Common (in Gemstone.Common.dll) Version: 1.0.150 -- Release Build+64e3b411e1abfbd2d4d8a81e850c3909a0ce8731
protected override void SetItem(
	int index,
	T item
)

Parameters

index  Int32
The zero-based index of the element to replace.
item  T
The new value for the element at the specified index. The value can be null for reference types.

Exceptions

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

See Also