Moves the item to the specified index in the collection
'Declaration
Public Overloads Overridable Sub MoveItem( _
ByVal As , _
ByVal As Integer _
)
public virtual void MoveItem(
,
int
)
public:
virtual void MoveItem(
,
int
)
Parameters
- item
- The item to move
- newIndex
Return Value
The item's new position, or -1 if the item was not found in the collection.