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