Document.DeleteAllComments Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.