VirtualCollectionTSetItem Method
Replaces the
item at the specified
index.
The base implementation sets the
item in the underlying collection by its
indexer.
Namespace: KGySoft.Collections.ObjectModelAssembly: KGySoft.CoreLibraries (in KGySoft.CoreLibraries.dll) Version: 9.0.0-preview.1
protected virtual void SetItem(
int index,
T item
)
Protected Overridable Sub SetItem (
index As Integer,
item As T
)
protected:
virtual void SetItem(
int index,
T item
)
abstract SetItem :
index : int *
item : 'T -> unit
override SetItem :
index : int *
item : 'T -> unit
Parameters
- index Int32
- The zero-based index of the element to replace.
- item T
- The new value for the element at the specified index.