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.252-beta+d6f44256e7cdcd1b3455fcb1dc7bd1c8d65c988a
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