Endeca Presentation API
CopyTo Method (array, arrayIndex)
NamespacesEndeca.NavigationDimGroupListCopyTo(Array, Int32)
Copies the entire DimGroupList to a compatible one-dimensional Array, starting at the specified index of the target array.
Declaration Syntax
C#Visual BasicVisual C++
public virtual void CopyTo(
	Array array,
	int arrayIndex
)
Public Overridable Sub CopyTo ( _
	array As Array, _
	arrayIndex As Integer _
)
public:
virtual void CopyTo (
	Array^ array, 
	int arrayIndex
)
Parameters
array (Array)
The one-dimensional Array that is the destination of the elements copied from DimGroupList. The Array must have zero-based indexing.
arrayIndex (Int32)
The zero-based index in array at which copying begins.
Remarks
The specified array must be of a compatible type.

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

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

-or-

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

-or-

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


InvalidCastException The type of the source DimGroupList be cast automatically to the type of the destination array.

Assembly: Endeca.Navigation (Module: Endeca.Navigation) Version: 0.0.0.0