Back to Devexpress

CommentCollection.Clear() Method

officefileapi-devexpress-dot-spreadsheet-dot-commentcollection.md

latest1.6 KB
Original Source

CommentCollection.Clear() Method

Removes all simple notes from the collection.

Namespace : DevExpress.Spreadsheet

Assembly : DevExpress.Spreadsheet.v25.2.Core.dll

NuGet Package : DevExpress.Spreadsheet.Core

Declaration

csharp
void Clear()
vb
Sub Clear

Remarks

To delete an individual note from the collection, use the Remove or RemoveAt method. To delete notes from the specified cells, use the Worksheet.ClearComments method.

To add a note to a cell, use the Add method.

See Also

Threaded Comments in Spreadsheet Documents

How to: Add a Simple Note To a Spreadsheet Cell

CommentCollection Interface

CommentCollection Members

DevExpress.Spreadsheet Namespace