Copies the elements of this CogAutoSelectResults object to the
supplied array, starting at the specified array index. This is a deep
copy.
Namespace: Cognex.VisionPro.AutoSelectAssembly: Cognex.VisionPro.AutoSelect (in Cognex.VisionPro.AutoSelect.dll) Version: 75.0.0.0
Syntax
Implements
ICollection CopyTo(Array, Int32)Exceptions
| Exception | Condition |
|---|---|
| ArgumentNullException | If the array argument is null. |
| ArgumentOutOfRangeException | If the index argument is less than zero. |
| ArgumentException | If the supplied array is not one dimensional. |
| ArgumentException | If the supplied array's lower bound is not zero. |
| ArgumentException | If the supplied array has fewer elements than there are results. |
| ArgumentOutOfRangeException | If the index argument is such that the results will not fit in the specified portion of the supplied array. |
| ArgumentException | If the type of the elements of the supplied array is not CogAutoSelectResult. |
See Also