TablePlotColumnCollection T  Move Method TIBCO Spotfire 6.0 API Reference
Move the item at fromIndex to toIndex where both indexes are prior to any insertion and removal operations.

Namespace: Spotfire.Dxp.Application.Visuals
Assembly: Spotfire.Dxp.Application (in Spotfire.Dxp.Application.dll) Version: 13.19.7018.3940 (13.19.7018.3940)
Syntax

public void Move(
	int fromIndex,
	int toIndex
)

Parameters

fromIndex
Type: System Int32
From index.
toIndex
Type: System Int32
To index.
Exceptions

ExceptionCondition
System ArgumentOutOfRangeException fromIndex or toIndex is outside the range of valid indexes, i.e. 0 : Count-1.
Remarks

The Move(Int32, Int32) method will move the item at position fromIndex in the collection to position toIndex, where toIndex is the index in the original collection where the moved item will be inserted; Move(0, 2) with input { A, B, C } will result in { B, C, A } after the move operation. Move(0, 0) will leave the collection unchanged. Move(0, 1) will result in { B, A, C }. Move(2, 0) will result in { C, A, B }.
See Also