Moves the item at the specified index to a new location in the collection.
Namespace: Spotfire.Dxp.Application
Assembly: Spotfire.Dxp.Application (in Spotfire.Dxp.Application.dll) Version: 25.11.10401.3615 (25.11.10401.3615)
Syntax
C#
public void Move( int fromIndex, int toIndex )
Parameters
- fromIndex
- Type: SystemInt32
The zero-based index specifying the location of the item to be moved. - toIndex
- Type: SystemInt32
The zero-based index specifying the new location of the item.
Exceptions
Exception | Condition |
---|---|
ArgumentOutOfRangeException | One of the indexes is less than zero or is greater than or equal to the number of items in the collection. |
Version Information
See Also