 | WorksheetSanitizeWorksheetName Method |
Sanitizes a worksheet name
Namespace: NanoXLSXAssembly: NanoXLSX (in NanoXLSX.dll) Version: 2.6.7+c253a7d00ca5e19be14df4552cf12c589ec4ab3e
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
Exceptions| Exception | Condition |
|---|
| WorksheetException | A WorksheetException is thrown if the workbook reference is null, since all worksheets have to be considered during sanitation |
See Also