Spread ASP.NET 17
FarPoint.Web.Spread Assembly / FarPoint.Web.Spread Namespace / SheetViewCollection Class / CopyTo Method
Array into which to copy the sheets
Array index at which to start pasting the sheets
Example


In This Topic
    CopyTo Method (SheetViewCollection)
    In This Topic
    Copies the sheets in the collection to an array.
    Syntax
    'Declaration
     
    
    Public Sub CopyTo( _
       ByVal array() As SheetView, _
       ByVal arrayIndex As Integer _
    ) 
    'Usage
     
    
    Dim instance As SheetViewCollection
    Dim array() As SheetView
    Dim arrayIndex As Integer
     
    instance.CopyTo(array, arrayIndex)
    public void CopyTo( 
       SheetView[] array,
       int arrayIndex
    )

    Parameters

    array
    Array into which to copy the sheets
    arrayIndex
    Array index at which to start pasting the sheets
    Example
    This example creates two SheetView objects, adds them to the current sheet and then copies the sheets to an array.
    See Also