Share via


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)

Syntax

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

Remarks

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.

See Also

Reference

Comments Members

Microsoft.Office.Interop.Word Namespace