[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.IComments.Item

this Property

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.

Declaration
IComment this[int Index] { get; }
ReadOnly Default Property Item(Index As Integer) As IComment
Parameters
Type Name Description
int Index

The zero-based index of the comment in the collection.

Examples
worksheet.Range["B2"].AddComment("Review this value");
IComments comments = worksheet.Comments;
IComment comment = comments[0];