| InputCommandCollectionSetItem Method |
Replaces the item at the specified index with the specified item.
Namespace: DigitalRune.Game.InputAssembly: DigitalRune.Game.Input (in DigitalRune.Game.Input.dll) Version: 1.8.0.0 (1.8.0.14467)
Syntax protected override void SetItem(
int index,
IInputCommand item
)
Protected Overrides Sub SetItem (
index As Integer,
item As IInputCommand
)
protected:
virtual void SetItem(
int index,
IInputCommand^ item
) override
abstract SetItem :
index : int *
item : IInputCommand -> unit
override SetItem :
index : int *
item : IInputCommand -> unit
Parameters
- index
- Type: SystemInt32
The zero-based index of the item to be replaced. - item
- Type: DigitalRune.Game.InputIInputCommand
The new item.
Exceptions See Also