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.181-beta
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