MoveItem(Int32,Int32) Method
In This Topic
Moves an item within the collection
Moves an item within the collection
Syntax
'Declaration
Public Overloads Overrides Sub MoveItem( _
ByVal As Integer, _
ByVal As Integer _
)
public override void MoveItem(
int ,
int
)
public:
void MoveItem(
int ,
int
) override
Parameters
- oldIndex
- The index to move the item from. Must be a valid index for the collection.The index to move the item from. Must be a valid index for the collection.
- newIndex
- The index to move the item to. Must be a valid index for the collection.The index to move the item to. Must be a valid index for the collection.
Exceptions
See Also