Moves the item at the specified index to a new location in the collection.
Namespace: Spotfire.Dxp.Framework.DocumentModel
Assembly: Spotfire.Dxp.Framework (in Spotfire.Dxp.Framework.dll) Version: 66.0.19621.1485 (66.0.19621.1485)
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
Supported in: 14.4, 14.3, 14.2, 14.1, 14.0, 12.5, 12.4, 12.3, 12.2, 12.1, 12.0, 11.8
See Also