[]
        
(Showing Draft Content)

C1.Excel.XLExternalBookCollection.Contains

Contains Method

Contains(XLExternalBook)

Determines whether the collection contains a specific XLSheet object.

Declaration
public bool Contains(XLExternalBook exBook)
Parameters
Type Name Description
XLExternalBook exBook

The object to look for in the collection.

Returns
Type Description
bool

True if the collection contains the object; False otherwise.

Contains(string)

Determines whether the collection contains an XLExternalBook object with a given name.

Declaration
public bool Contains(string fileName)
Parameters
Type Name Description
string fileName

The file name of the external book to look for (case-insensitive).

Returns
Type Description
bool

True if the collection contains an XLExternalBook with the given fileName; False otherwise.