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

CommentCollection.Remove(Comment) Method

Removes the specified comment from the collection.

Namespace: DevExpress.Spreadsheet

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

Declaration

void Remove(
    Comment comment
)

Parameters

Name Type Description
comment Comment

A Comment object to be removed from the collection.

Remarks

To remove a comment from the collection by its index, use the CommentCollection.RemoveAt method. To remove all comments from the collection, use the CommentCollection.Clear 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