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

CommentRunCollection.Remove(CommentRun) Method

Removes the specified CommentRun object from the collection.

Namespace: DevExpress.Spreadsheet

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


void Remove(
    CommentRun run


Name Type Description
run CommentRun

A CommentRun object that defines a text region to be deleted from the comment.


To remove a comment run by its index in the collection, use the CommentRunCollection.RemoveAt method. To remove all text from the comment, use the CommentRunCollection.Clear method.

To add a comment run, use the CommentRunCollection.Add method.

See Also