Excel for WPF and Silverlight
Contains(String) Method

C1.WPF.Excel Namespace > XLSheetCollection Class > Contains Method : Contains(String) Method
The name of the sheet to look for (case-insensitive).
Determines whether the collection contains an XLSheet object with a given name.
Syntax
'Declaration
 
Public Overloads Function Contains( _
   ByVal sheetName As System.String _
) As System.Boolean
public System.bool Contains( 
   System.string sheetName
)

Parameters

sheetName
The name of the sheet to look for (case-insensitive).

Return Value

True if the collection contains an XLSheet with the given sheetName; False otherwise.
See Also

Reference

XLSheetCollection Class
XLSheetCollection Members
Overload List