DefinitionalObjectCollectionTSetItem Method |
Replaces the element at the specified index.
Namespace:
AGI.Foundation.Infrastructure
Assembly:
AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 24.2.419.0 (24.2.419.0)
Syntax protected override void SetItem(
int index,
T item
)
Protected Overrides Sub SetItem (
index As Integer,
item As T
)
protected:
virtual void SetItem(
int index,
T item
) override
abstract SetItem :
index : int *
item : 'T -> unit
override SetItem :
index : int *
item : 'T -> unit
Parameters
- index
- Type: SystemInt32
The zero-based index of the element to replace. - item
- Type: T
The new value for the element at the specified index. The value can be null
for reference types.
Exceptions See Also