Method SheetNames
SheetNames(Stream)
The names of a workbook's sheets, in order.
public static IReadOnlyList<string> SheetNames(Stream workbook)
Parameters
workbookStreamThe workbook (
.xlsx).
Returns
- IReadOnlyList<string>
The names.
Exceptions
- ArgumentNullException
workbookis null.- InvalidDataException
The stream is not a workbook this reader reads.