CommentRemoveAllReplies Method
Removes all replies to this comment.

Namespace: Aspose.Words
Assembly: Aspose.Words (in Aspose.Words.dll) Version: 19.10
Syntax
public void RemoveAllReplies()
Remarks
All constituent nodes of the replies will be deleted from the document.
Examples
Shows how to remove comment replies.
[C#]

Document doc = new Document(MyDir + "Comment.Document.docx");

NodeCollection comments = doc.GetChildNodes(NodeType.Comment, true);
Comment comment = (Comment) comments[0];

comment.RemoveAllReplies();
See Also