Excel for WPF | ComponentOne
C1.WPF.Excel Namespace / XLSheetCollection Class / Insert Method / Insert(Int32) Method
Index where the new XLSheet will be added.

In This Topic
    Insert(Int32) Method
    In This Topic
    Creates a new XLSheet and inserts it at a specific position in the collection.
    Syntax
    'Declaration
     
    
    Public Overloads Function Insert( _
       ByVal index As Integer _
    ) As XLSheet
    public XLSheet Insert( 
       int index
    )

    Parameters

    index
    Index where the new XLSheet will be added.

    Return Value

    A reference to the new XLSheet object.
    See Also