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

Comment Interface

Represents a single comment.

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

public interface Comment

The Comment object is a member of the Comments collection. The Comments collection includes comments in a selection, range or document.

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.

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

Use the Reference property to return the reference mark associated with the specified comment. Use the Range property to return the text associated with the specified comment.

© 2015 Microsoft