Copies the variable's observations to the specified array.

Namespace: Extreme.Statistics
Assembly: Extreme.Numerics (Extreme.Numerics)

Syntax

Visual Basic (Declaration)
Public Sub CopyTo ( _
	array As Object(), _
	arrayIndex As Integer _
)
C#
public void CopyTo (
	Object[] array,
	int arrayIndex
)
C++
public:
virtual void CopyTo (
	array<Object^>^ array, 
	int arrayIndex
) sealed

Parameters

array ()
An Object array.
arrayIndex (System.Int32)
An integer that represents the index in destination at which copying begins.

Exceptions

ExceptionCondition
ArgumentNullExceptionarray is nullNothingnullptr.
ArgumentOutOfRangeExceptionstartIndex is less than zero.
ArgumentExceptionLength is greater than the number of elements from startIndex to the end of array.