Spread Windows Forms 7.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 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8

See Also

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