Click or drag to resize

ExcelWorksheetCollectionContains Method (String)

Determines whether an ExcelWorksheet element with specified name is in the ExcelWorksheetCollection.

Namespace:  GemBox.Spreadsheet
Assembly:  GemBox.Spreadsheet (in GemBox.Spreadsheet.dll) Version:
public bool Contains(
	string worksheetName


Type: SystemString
The name of the ExcelWorksheet to locate in the ExcelWorksheetCollection.

Return Value

Type: Boolean
True if ExcelWorksheet with specified name is found in the ExcelWorksheetCollection; otherwise, false.
See Also