Moves the entity at the specified index to a new location in the collection.
Namespace:
DlhSoft.Windows.DataAssembly: DlhSoft.Data.Core (in DlhSoft.Data.Core.dll)
Syntax
| C# |
|---|
protected override void MoveItem( int oldIndex, int newIndex ) |
| Visual Basic (Declaration) |
|---|
Protected Overrides Sub MoveItem ( _ oldIndex As Integer, _ newIndex As Integer _ ) |
Parameters
- oldIndex
- Type: System..::.Int32
The zero-based index specifying the location of the entity to be moved.
- newIndex
- Type: System..::.Int32
The zero-based index specifying the new location of the entity.