| ChildCollectionTParent, TChildSetItem Method |
Replaces the element at the specified index.
Namespace: DigitalRune.CollectionsAssembly: DigitalRune (in DigitalRune.dll) Version: 1.20.0.0 (1.20.1.14552)
Syntax protected override void SetItem(
int index,
TChild item
)
Protected Overrides Sub SetItem (
index As Integer,
item As TChild
)
protected:
virtual void SetItem(
int index,
TChild item
) override
abstract SetItem :
index : int *
item : 'TChild -> unit
override SetItem :
index : int *
item : 'TChild -> unit
Parameters
- index
- Type: SystemInt32
The zero-based index of the element to replace. - item
- Type: TChild
The new value for the element at the specified index.
Exceptions See Also