Copies the entire DimGroup to a compatible one-dimensional 
            Array, starting at the specified index of the target array.
            
Namespace: Endeca.NavigationAssembly: Endeca.Navigation (in Endeca.Navigation.dll) Version: 6.2.0.0 (0.0.0.0)
 Syntax
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 DimGroup. 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
Remarks
            The specified array must be of a compatible type.
            
This method uses Copy(Array, Array, Int32) to copy the elements.
 Exceptions
Exceptions
| Exception | Condition | 
|---|---|
| System..::..ArgumentNullException | array is a null reference. | 
| System..::..ArgumentOutOfRangeException | arrayIndex is less than zero. | 
| System..::..ArgumentException | array is multidimensional. -or- arrayIndex is equal to or greater than the length of array. -or- The number of elements in the source DimGroup is greater than the available space from arrayIndex to the end of the destination array. | 
| System..::..InvalidCastException | The type of the source DimGroup be cast automatically to the type of the destination array. | 





