.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
.NET Core 3.0+
Row

CommentRunCollection.Remove(CommentRun) Method

Removes the specified CommentRun object from the collection.

Namespace: DevExpress.Spreadsheet

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

Declaration

void Remove(
    CommentRun run
)
Sub Remove(
    run As CommentRun
)
void Remove(
    CommentRun run
)
Sub Remove(
    run As CommentRun
)
void Remove(
    CommentRun run
)
Sub Remove(
    run As CommentRun
)

Parameters

Name Type Description
run CommentRun

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

Parameters

Name Type Description
run CommentRun

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

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