Spread Windows Forms 6.0 Product Documentation
CopyTo Method
See Also  Support Options
FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > DefaultSpreadSkins Class : CopyTo Method


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

Glossary Item Box

Copies skins to the specified array at the specified index.

Syntax

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)
C# 
public static void CopyTo( 
   Array array,
   int 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

Exceptions

ExceptionDescription
System.ArgumentNullExceptionNo array specified, or specified array is null (Nothing)
System.ArgumentExceptionSpecified array is invalid; must have a rank of one
System.ArgumentExceptionSpecified array is invalid; must have sufficient length
System.IndexOutOfRangeExceptionSpecified index is out of range; must be greater than zero

Requirements

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

See Also

© 2002-2012 ComponentOne, a division of GrapeCity. All Rights Reserved.