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

CommentRunCollection.Remove(CommentRun) Method

Removes the specified CommentRun object from the collection.

Namespace: DevExpress.Spreadsheet

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

Declaration

void Remove(
    CommentRun run
)

Parameters

Name Type Description
run CommentRun

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

Remarks

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