| GrapeCity.Xaml.SpreadSheet.Data Namespace > StyleInfoCollection Class > CopyTo Method : CopyTo(Array,Int32) Method | 
'Declaration Public Overloads Overridable Sub CopyTo( _ ByVal array As Array, _ ByVal index As Integer _ )
'Usage Dim instance As StyleInfoCollection Dim array As Array Dim index As Integer instance.CopyTo(array, index)
| Exception | Description | 
|---|---|
| System.ArgumentNullException | No array specified, or the specified array is null (Nothing). | 
| System.ArgumentException | The specified array is not valid; must have a rank of one. | 
| System.ArgumentException | The specified array is not valid; must have sufficient length. | 
| System.IndexOutOfRangeException | The specified index is out of range; must be greater than zero. | 
Target Platforms: Windows Server 2012, Windows RT