Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here. ArchiveDisclaimer

Comments Interface

A collection of Comment objects that represent the comments in a selection, range, or document.

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

'Declaration
<GuidAttribute("00020940-0000-0000-C000-000000000046")> _
Public Interface Comments _
	Inherits IEnumerable
'Usage
Dim instance As Comments

Use the Comments property to return the Comments collection.

Use the Add method to add a comment at the specified range.

Use Comments(index), where index is the index number, to return a single Comment object. The index number represents the position of the comment in the specified selection, range, or document.

Show:
© 2016 Microsoft