Skip to main content
.NET Framework 4.5.2+

CommentCollection.Clear() Method

Removes all simple notes from the collection.

Namespace: DevExpress.Spreadsheet

Assembly: DevExpress.Spreadsheet.v23.1.Core.dll


void Clear()


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