_Document.DeleteAllComments Method

Deletes all comments from the Comments collection in a document.

Namespace:  Microsoft.Office.Interop.Word
Assembly:  Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)

Syntax

'Declaration
Sub DeleteAllComments
'Usage
Dim instance As _Document

instance.DeleteAllComments()
void DeleteAllComments()

Remarks

Use the Add method for the Comments object to add a comment to a document.

See Also

Reference

_Document Interface

_Document Members

Microsoft.Office.Interop.Word Namespace