RhinoCommon API
IndexPairCopyTo Method |
Namespace: Rhino
Assembly: RhinoCommon (in RhinoCommon.dll)
Since: 6.0

public void CopyTo( int[] array, int arrayIndex )
Public Sub CopyTo ( array As Integer(), arrayIndex As Integer )
Parameters
- array
- Type: SystemInt32
The one-dimensional Array that is the destination of the elements copied from IndexPair. The Array must have zero-based indexing. - arrayIndex
- Type: SystemInt32
The zero-based index in array at which copying begins.
Implements
ICollectionTCopyTo(T, Int32)
Exception | Condition |
---|---|
ArgumentNullException | array is null. |
ArgumentOutOfRangeException | arrayIndex is less than 0 or arrayIndex is greater than or equals the length of array minus 2. |
ArgumentException | The length of the array is less than 2. |
