Worksheet.WorksheetExists Method

NanoXLSX

NanoXLSX

WorksheetWorksheetExists Method

Checks whether a worksheet with the given name exists

Namespace:  NanoXLSX
Assembly:  NanoXLSX (in NanoXLSX.dll) Version: 1.2.3.0 (1.2.3)
Syntax
C#
private static bool WorksheetExists(
	string name,
	Workbook workbook
)

Parameters

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

Return Value

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