[]
        
(Showing Draft Content)

C1.Excel.XLSheetCollection.Add

Add Method

Add()

Creates a new XLSheet and appends it to the collection.

Declaration
public XLSheet Add()
Returns
Type Description
XLSheet

A reference to the new XLSheet object.

Add(XLSheet)

Appends an existing XLSheet to the collection.

Declaration
public XLSheet Add(XLSheet sheet)
Parameters
Type Name Description
XLSheet sheet

The object to add to the collection.

Returns
Type Description
XLSheet

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

Add(string)

Creates a new XLSheet with a given name and appends it to the collection.

Declaration
public XLSheet Add(string name)
Parameters
Type Name Description
string name

The name of the new XLSheet.

Returns
Type Description
XLSheet

A reference to the new XLSheet object.