Document.DeleteAllComments Method

Definition

Deletes all comments from the Comments collection in a document.

public:
 void DeleteAllComments();
public void DeleteAllComments ();
abstract member DeleteAllComments : unit -> unit
Public Sub DeleteAllComments ()

Remarks

Use the Microsoft.Office.Interop.Word.Comments.Add* method of the Comments object to add a comment to a document.

Applies to