VirtualCollectionTSetItem Method

Replaces the item at the specified index.
The base implementation sets the item in the underlying collection by its indexer.

Definition

Namespace: KGySoft.Collections.ObjectModel
Assembly: KGySoft.CoreLibraries (in KGySoft.CoreLibraries.dll) Version: 9.0.0-preview.1
C#
protected virtual 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.

See Also