| StateCollectionSetItem Method |
Replaces the element at the specified index.
Namespace: DigitalRune.Game.StatesAssembly: DigitalRune.Game (in DigitalRune.Game.dll) Version: 1.4.0.0 (1.4.0.14427)
Syntax protected override void SetItem(
int index,
State item
)
Protected Overrides Sub SetItem (
index As Integer,
item As State
)
protected:
virtual void SetItem(
int index,
State^ item
) override
abstract SetItem :
index : int *
item : State -> unit
override SetItem :
index : int *
item : State -> unit
Parameters
- index
- Type: SystemInt32
The zero-based index of the element to replace. - item
- Type: DigitalRune.Game.StatesState
The new value for the element at the specified index. The value can be
for reference types.
Exceptions See Also