Click or drag to resize
DigitalRuneSynchronizedNotifyingCollectionTMove 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.
Remarks
Subclasses can override the MoveItem(Int32, Int32) method to provide custom behavior for this method.
See Also