Method Remove
- Namespace
- DocWright.Spreadsheet
- Assembly
- DocWright.Spreadsheet.dll
Remove(XlsxThreadedComment)
Removes a thread with its replies, as Excel's Delete Thread does: the thread, its note and the note's box.
public bool Remove(XlsxThreadedComment thread)
Parameters
threadXlsxThreadedCommentThe thread, as read from this list.
Returns
- bool
Whether the sheet had the thread.
Exceptions
- ArgumentNullException
threadis null.- InvalidOperationException
The sheet is not a worksheet.
- InvalidDocumentException
A part of the workbook is malformed.