[]
        
(Showing Draft Content)

C1.Excel.XLExternalBookCollection.Add

Add Method

Add(XLExternalBook)

Appends an existing XLExternalBook to the collection.

Declaration
public XLExternalBook Add(XLExternalBook exBook)
Parameters
Type Name Description
XLExternalBook exBook

The object to add to the collection.

Returns
Type Description
XLExternalBook

Add(string)

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

Declaration
public XLExternalBook Add(string fileName)
Parameters
Type Name Description
string fileName

The file name of the new XLExternalBook.

Returns
Type Description
XLExternalBook

A reference to the new XLExternalBook object.