Bagikan melalui


DocumentBase.DeleteAllComments Method

Definition

Deletes all comments from the Comments collection in a document.

public:
 void DeleteAllComments();
public void DeleteAllComments ();
member this.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