CommentRemoveAllReplies Method

Removes all replies to this comment.

Namespace:  Aspose.Words
Assembly:  Aspose.Words (in Aspose.Words.dll) Version: 20.3
Syntax
public void RemoveAllReplies()
Remarks
All constituent nodes of the replies will be deleted from the document.
Examples
Shows how to remove comment replies.
Document doc = new Document(MyDir + "Comments.docx");

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

comment.RemoveAllReplies();
See Also