Spread ASP.NET 17
FarPoint.Web.Spread Assembly / FarPoint.Web.Spread Namespace / DefaultSkins Class / CopyTo Method
A one-dimensional array into which the elements from ICollection are copied
The array must have zero-based indexing.
Zero-based index in array at which to paste skins
Example


In This Topic
    CopyTo Method (DefaultSkins)
    In This Topic
    Copies skins to the specified array at the specified index.
    Syntax
    'Declaration
     
    
    Public Shared Sub CopyTo( _
       ByVal array As Array, _
       ByVal index As Integer _
    ) 
    'Usage
     
    
    Dim array As Array
    Dim index As Integer
     
    DefaultSkins.CopyTo(array, index)
    public static void CopyTo( 
       Array array,
       int index
    )

    Parameters

    array
    A one-dimensional array into which the elements from ICollection are copied
    The array must have zero-based indexing.
    index
    Zero-based index in array at which to paste skins
    Exceptions
    ExceptionDescription
    No array specified, or specified array is null (Nothing)
    Specified array is invalid; must have a rank of one
    Specified array is invalid; must have sufficient length
    Specified index is out of range; must be greater than zero
    Example
    This example copies the specified skin to an array at the specified index.
    See Also