Spread ASP.NET 17
FarPoint.Web.Spread Assembly / FarPoint.Web.Spread Namespace / DefaultStyleCollection Class / CopyTo Method / CopyTo(Array,Int32) Method
One-dimensional array into which the elements from ICollection are copied; the array indexing must be zero-based.
Zero-based index in the array at which to paste the styles
Example


In This Topic
    CopyTo(Array,Int32) Method
    In This Topic
    Copies the styles in the collection to a specified array.
    Syntax
    'Declaration
     
    
    Public Overloads Sub CopyTo( _
       ByVal array As Array, _
       ByVal index As Integer _
    ) 
    'Usage
     
    
    Dim instance As DefaultStyleCollection
    Dim array As Array
    Dim index As Integer
     
    instance.CopyTo(array, index)
    public void CopyTo( 
       Array array,
       int index
    )

    Parameters

    array
    One-dimensional array into which the elements from ICollection are copied; the array indexing must be zero-based.
    index
    Zero-based index in the array at which to paste the styles
    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
    See Also