Cog3DVect2Collection CopyTo Method Cognex VisionPro 9.10
Copies the contained set of Cog3DVect2's into the supplied, previously allocated array of Cog3DVect2's starting at the specified index.

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

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

Parameters

arr
Type:  Cognex.VisionPro3D Cog3DVect2 
The destination array of type Cog3DVect2. 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 Cog3DVect2 will not fit into the destination array starting at the specified index.
See Also