FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > FpScrollBarButtonCollection Class : CopyTo Method |
'Usage Dim instance As FpScrollBarButtonCollection Dim array As Array Dim index As Integer instance.CopyTo(array, index)
Exception | Description |
---|---|
System.ArgumentNullException | array is null. |
System.ArgumentOutOfRangeException | index is less than zero. |
System.ArgumentException | array is multidimensional.-or- index is equal to or greater than the length of array.-or- The number of buttons in the source System.Collections.ICollection is greater than the available space from index to the end of the destination array. |
System.InvalidCastException | The type of the source System.Collections.ICollection cannot be cast automatically to the type of the destination array. |
Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8