Worksheet.WorksheetExists Method

PicoXLSX

PicoXLSX

WorksheetWorksheetExists Method

Checks whether a worksheet with the given name exists

Namespace:  PicoXLSX
Assembly:  PicoXLSX (in PicoXLSX.dll) Version: 2.4.0.0 (2.4.0)
Syntax
C#
private static bool WorksheetExists(
	string name,
	Workbook workbook
)

Parameters

name
Type: SystemString
Name to check
workbook
Type: PicoXLSXWorkbook
Workbook reference

Return Value

Type: Boolean
True if the name exits, otherwise false
See Also