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.207-beta+1781b796b2aa7a54013a031eb432fe4ccee31867
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