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

Namespace: DigitalRune.Collections
Assembly: DigitalRune (in DigitalRune.dll) Version: 1.20.0.0 (1.20.1.14552)
Syntax
public void Move(
	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.
Exceptions
ExceptionCondition
ArgumentOutOfRangeExceptionoldIndex or newIndex is out of range.
See Also