[]
Represents a collection of cell comments.
Each comment in the collection is represented by an IComment object. Use this interface to access and enumerate the comments in a worksheet.
public interface IComments : IEnumerable
Public Interface IComments
Inherits IEnumerable
worksheet.Range["B2"].AddComment("Review this value");
IComments comments = worksheet.Comments;
IComment comment = comments[0];
| Name | Description |
|---|---|
| Count | Returns the number of comment objects in the collection. This value indicates how many IComment objects are contained in this IComments collection, such as the collection returned by Comments. |
| this[int] | Gets the comment at the specified index. Use this property to retrieve an IComment object from this IComments collection, such as the collection returned by Comments. |