Skip to main content
A newer version of this page is available. .
.NET Framework 4.5.2+
Row

CommentCollection.Clear() Method

Removes all comments from the collection.

Namespace: DevExpress.Spreadsheet

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

Declaration

void Clear()

Remarks

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