.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+

CommentCollection.Clear() Method

Removes all comments from the collection.

Namespace: DevExpress.Spreadsheet

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


void Clear()


To delete an individual comment from the collection, use the CommentCollection.Remove or CommentCollection.RemoveAt method. To delete comments from the specified cells, use the Worksheet.ClearComments method.

To add a comment to a cell, use the CommentCollection.Add method.

See Also