Click or drag to resize

ListCollectionTSetItem Method

Replaces the element at the specified index.

Namespace: GSF.Collections
Assembly: GSF.Core (in GSF.Core.dll) Version: 2.4.205-beta+5ef4169f3b1079d8b163dd363614f656bd140924
Syntax
protected override void SetItem(
	int index,
	T item
)
View Source

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
ExceptionCondition
ArgumentOutOfRangeExceptionindex is less than zero.-or-index is greater than Count.
See Also