Cog3DScalarCollection CopyTo Method Cognex VisionPro 9.7
Copies the contained double into the supplied, previously allocated array of double starting at the specified index.

Namespace: Cognex.VisionPro3D
Assembly: Cognex.VisionPro3D.Core (in Cognex.VisionPro3D.Core.dll) Version: 73.0.0.0
Syntax

public virtual void CopyTo(
	double[] arr,
	int index
)

Parameters

arr
Type:  System Double 
The destination array of type double. May not be null.
index
Type: System Int32
A zero based index into the destination array at which copying begins.

Implements

ICollection T  CopyTo( T , Int32)
Exceptions

ExceptionCondition
ArgumentNullException If arr is null.
ArgumentOutOfRangeException If the index argument is not valid.
ArgumentException If the supplied array is not of rank 1.
ArgumentException If the supplied array does not have zero based indexing.
ArgumentException If the contained double will not fit into the destination array starting at the specified index.
See Also