Copies the entire collection to a one-dimensional array
of key value pairs, starting at the specified
index of the target array.
Namespace: Cognex.VisionProAssembly: Cognex.VisionPro.CorePlus (in Cognex.VisionPro.CorePlus.dll) Version: 87.0.0.0
Syntax
Parameters
- arr
- Type: System.Collections.Generic KeyValuePair String, ICogVisionData
The one-dimensional array that is the destination of the elements copied from this container. The array must have zero-based indexing.
- index
- Type: System Int32
The zero-based index in the target array at which copying begins.
Implements
ICollection T CopyTo( T , Int32)Exceptions
| Exception | Condition |
|---|---|
| [System.ArgumentNullException] | arr is null. |
| [System.ArgumentOutOfRangeException] | index is less than 0. |
| [System.ArgumentException] | The number of elements in this container is greater than the available space from index to the end of the destination array. |
See Also