CogVisionDataContainer Move Method Cognex VisionPro 9.24
Moves a key value pair from one position to another.

Namespace: Cognex.VisionPro
Assembly: Cognex.VisionPro.CorePlus (in Cognex.VisionPro.CorePlus.dll) Version: 91.0.0.0
Syntax

public virtual void Move(
	int fromIndex,
	int toIndex
)

Parameters

fromIndex
Type: System Int32
The pair's original index.
toIndex
Type: System Int32
The pair's new index.
Exceptions

ExceptionCondition
[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