Vector4::CopyTo Method (array<Single>, Int32)
Copies the elements of the vector to a specified array starting at a specified index position.
Namespace: System.Numerics
Assembly: System.Numerics.Vectors (in System.Numerics.Vectors.dll)
Parameters
- array
- Type: array<System::Single>
The destination array.
- index
- Type: System::Int32
The index at which to copy the first element of the vector.
| Exception | Condition |
|---|---|
| ArgumentNullException | array is nullptr. |
| ArgumentException | The number of elements in the current instance is greater than in the array. |
| ArgumentOutOfRangeException | index is less than zero. -or- index is greater than or equal to the array length. |
| RankException | array is multidimensional. |
Show: