Copies the entire RangeFilterList to a compatible one-dimensional Array, starting at the specified index of the target array.

Namespace: Endeca.Navigation
Assembly: Endeca.Navigation (in Endeca.Navigation.dll) Version: 6.2.0.0 (0.0.0.0)

Syntax

C#
public virtual void CopyTo(
	Array array,
	int arrayIndex
)
Visual Basic
Public Overridable Sub CopyTo ( _
	array As Array, _
	arrayIndex As Integer _
)
Visual C++
public:
virtual void CopyTo(
	Array^ array, 
	int arrayIndex
)

Parameters

array
Type: System..::..Array
The one-dimensional Array that is the destination of the elements copied from RangeFilterList. The Array must have zero-based indexing.
arrayIndex
Type: System..::..Int32
The zero-based index in array at which copying begins.

Implements

ICollection..::..CopyTo(Array, Int32)

Remarks

The specified array must be of a compatible type.

This method uses Copy(Array, Array, Int32) to copy the elements.

Exceptions

ExceptionCondition
System..::..ArgumentNullExceptionarray is a null reference.
System..::..ArgumentOutOfRangeExceptionarrayIndex is less than zero.
System..::..ArgumentExceptionarray is multidimensional.

-or-

arrayIndex is equal to or greater than the length of array.

-or-

The number of elements in the source RangeFilterList is greater than the available space from arrayIndex to the end of the destination array.

System..::..InvalidCastException The type of the source RangeFilterList be cast automatically to the type of the destination array.

See Also