 | WorksheetSanitizeWorksheetName Method |
Sanitizes a worksheet name
Namespace: NanoXLSXAssembly: NanoXLSX (in NanoXLSX.dll) Version: 2.6.4+e304ab0274fa680d1e83f83c8f76c3bd5a54caf2
Syntaxpublic static string SanitizeWorksheetName(
string input,
Workbook workbook
)
Parameters
- input String
- Name to sanitize
- workbook Workbook
- Workbook reference
Return Value
StringName of the sanitized worksheet
ExceptionsException | Condition |
---|
WorksheetException | A WorksheetException is thrown if the workbook reference is null, since all worksheets have to be considered during sanitation |
See Also