Endeca Presentation API
CopyTo Method (array, arrayIndex)
NamespacesEndeca.NavigationAssocNavigationRefsListCopyTo(Array, Int32)
Copies the entire AssocNavigationRefsList 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 _
virtual void CopyTo (
	Array^ array, 
	int arrayIndex
array (Array)
The one-dimensional Array that is the destination of the elements copied from AssocNavigationRefsList. The Array must have zero-based indexing.
arrayIndex (Int32)
The zero-based index in array at which copying begins.
The specified array must be of a compatible type.

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

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


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


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

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

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