The requested page is not available for the requested platform. You are viewing the content for .NET Framework 4.5.2+ platform.
.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+

CommentCollection.Remove(Comment) Method

Removes the specified comment from the collection.

Namespace: DevExpress.XtraRichEdit.API.Native

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

Declaration

void Remove(Comment comment)
Sub Remove(comment As Comment)
void Remove(Comment comment)
Sub Remove(comment As Comment)

Parameters

Name Type Description
comment Comment

A Comment object to remove from the collection.

Parameters

Name Type Description
comment Comment

A Comment object to remove from the collection.

Examples

document.LoadDocument("Grimm.docx", DevExpress.XtraRichEdit.DocumentFormat.OpenXml)
If document.Comments.Count > 0 Then
    document.Comments.Remove(document.Comments(0))
End If
See Also