| ChildCollectionTParent, TChildMoveItem Method |
Moves the item at the specified index to a new location in the collection.
Namespace: DigitalRune.CollectionsAssembly: DigitalRune (in DigitalRune.dll) Version: 1.20.0.0 (1.20.1.14552)
Syntax protected virtual void MoveItem(
int oldIndex,
int newIndex
)
Protected Overridable Sub MoveItem (
oldIndex As Integer,
newIndex As Integer
)
protected:
virtual void MoveItem(
int oldIndex,
int newIndex
)
abstract MoveItem :
oldIndex : int *
newIndex : int -> unit
override MoveItem :
oldIndex : int *
newIndex : int -> unit
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.
See Also