Click or drag to resize
DigitalRuneGameObjectCollectionMoveItem Method
Moves the item at the specified index to a new location in the collection.

Namespace: DigitalRune.Game
Assembly: DigitalRune.Game (in DigitalRune.Game.dll) Version: 1.4.0.0 (1.4.0.14427)
Syntax
protected override void MoveItem(
	int oldIndex,
	int newIndex
)

Parameters

oldIndex
Type: SystemInt32
The zero-based index specifying the location of the item to be moved.
newIndex
Type: SystemInt32
The zero-based index specifying the new location of the item.
Remarks

This method is called by Move(Int32, Int32). The range of oldIndex and newIndex is checked in Move(Int32, Int32) before this method is called.

See Also