[]
        
(Showing Draft Content)

GrapeCity.ActiveReports.Document.ParameterValueCollection.CopyTo

CopyTo Method

CopyTo(ParameterValue[], int)

Copies the elements of the ParameterValueCollection to an Array, starting at a particular Array index.

Declaration
public void CopyTo(ParameterValue[] array, int arrayIndex)
Parameters
Type Name Description
ParameterValue[] array

The one-dimensional Array that is the destination of the elements copied from ParameterValueCollection. The Array must have zero-based indexing.

int arrayIndex

The zero-based index in array at which copying begins.

Implements
Exceptions
Type Condition
ArgumentNullException

Thrown when array is null.

ArgumentOutOfRangeException

Thrown when arrayIndex is less than 0.

ArgumentException

Thrown when the number of elements in the source ParameterValueCollection is greater than the available space from arrayIndex to the end of the destination array.