Excel for WPF | ComponentOne
C1.WPF.Excel Namespace / XLSheetCollection Class / Add Method / Add(XLSheet) Method
The object to add to the collection.

In This Topic
    Add(XLSheet) Method
    In This Topic
    Appends an existing XLSheet to the collection.
    Syntax
    'Declaration
     
    
    Public Overloads Function Add( _
       ByVal sheet As XLSheet _
    ) As XLSheet
    public XLSheet Add( 
       XLSheet sheet
    )

    Parameters

    sheet
    The object to add to the collection.

    Return Value

    A reference to the object that was added to the collection (in this case, always the sheet parameter).
    See Also