Move the selected item to a new index in this collection.
Assembly: Cognex.Vision.Core.Net (in Cognex.Vision.Core.Net.dll) Version: 9.22.2.0
Syntax
Parameters
- fromIndex
- Type: System Int32
The index of the item to move.
- toIndex
- Type: System Int32
The index to which the item will be moved.
Exceptions
| Exception | Condition |
|---|---|
| ArgumentOutOfRangeException | If either fromIndex or toIndex is less than zero or is greater than or equal to Count. |
Remarks
MovingItem Raises before the item is moved. MovedItem Raises after the item is moved.
See Also