Visual Basic (Declaration) | |
---|---|
Public Shared Sub CopyTo( _ ByVal array As Array, _ ByVal index As Integer _ ) |
Visual Basic (Usage) | Copy Code |
---|---|
Dim array As Array Dim index As Integer DefaultSpreadSkins.CopyTo(array, index) |
Parameters
- array
- One-dimensional array into which the elements from ICollection are copied; array must have zero-based indexing
- index
- Zero-based index in array at which to paste skins
Exception | Description |
---|---|
System.ArgumentNullException | No array specified, or specified array is null (Nothing) |
System.ArgumentException | Specified array is invalid; must have a rank of one |
System.ArgumentException | Specified array is invalid; must have sufficient length |
System.IndexOutOfRangeException | Specified index is out of range; must be greater than zero |
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2