Spread WPF 17
GrapeCity.Windows.SpreadSheet.Data Namespace / WorksheetCollection Class / Insert Method
The index at which to add the sheet.
The Worksheet object to add.


In This Topic
    Insert Method (WorksheetCollection)
    In This Topic
    Inserts the specified sheet at the specified index in the collection.
    Syntax
    'Declaration
     
    Public Overrides Sub Insert( _
       ByVal index As Integer, _
       ByVal worksheet As Worksheet _
    ) 
    'Usage
     
    Dim instance As WorksheetCollection
    Dim index As Integer
    Dim worksheet As Worksheet
     
    instance.Insert(index, worksheet)
    public override void Insert( 
       int index,
       Worksheet worksheet
    )

    Parameters

    index
    The index at which to add the sheet.
    worksheet
    The Worksheet object to add.
    See Also