| GrapeCity.Windows.SpreadSheet.Data Namespace > StyleInfoCollection Class > CopyTo Method : CopyTo(Array,Int32) Method | 
'Declaration Public Overloads Overridable Sub CopyTo( _ ByVal array As System.Array, _ ByVal index As System.Integer _ )
'Usage Dim instance As StyleInfoCollection Dim array As System.Array Dim index As System.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 7, Windows 8 Desktop, Windows Vista SP1 or later, Windows Server 2000, Windows 2000 Professional (SP4), Windows XP (SP2), Windows 2008, Windows 2003 Server (SP1)