[]
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.
IComment this[int Index] { get; }
ReadOnly Default Property Item(Index As Integer) As IComment
| Type | Name | Description |
|---|---|---|
| int | Index | The zero-based index of the comment in the collection. |
worksheet.Range["B2"].AddComment("Review this value");
IComments comments = worksheet.Comments;
IComment comment = comments[0];