Moves a key value pair from one position to another.
Namespace: Cognex.VisionProAssembly: Cognex.VisionPro.CorePlus (in Cognex.VisionPro.CorePlus.dll) Version: 65.1.0.0
Syntax
Parameters
- fromIndex
- Type: System Int32
The pair's original index.
- toIndex
- Type: System Int32
The pair's new index.
Exceptions
| Exception | Condition |
|---|---|
| [System.ArgumentOutOfRangeException] | If fromIndex is less than zero or fromIndex is greater than or equal to Count. |
| [System.ArgumentOutOfRangeException] | If toIndex is less than zero or toIndex is greater than or equal to Count. |
See Also