[]
Iterable<ICommentThreaded>Each threaded comment is represented by an ICommentThreaded object. Use IWorksheet.getCommentsThreaded() to access all threaded comments in a worksheet, or ICommentThreaded.getReplies() to access the replies of a specific threaded comment.
ICommentThreaded comment = worksheet.getRange("C3").addCommentThreaded("Check the sales total.", "Nancy");
comment.addReply("I updated the number.", "Bill");
ICommentsThreaded commentsThreaded = worksheet.getCommentsThreaded();
ICommentsThreaded replies = comment.getReplies();
ICommentThreaded firstReply = replies.get(0);
This collection can represent either all top-level threaded comments in a worksheet or the replies of a single ICommentThreaded.
ICommentThreaded comment = worksheet.getRange("C3").addCommentThreaded("Check the sales total.", "Nancy");
comment.addReply("I updated the number.", "Bill");
ICommentsThreaded replies = comment.getReplies();
ICommentThreaded firstReply = replies.get(0);
index - The zero-based index of the threaded comment in the collection.ICommentThreaded object at the specified index.This collection can represent either all top-level threaded comments in a worksheet or the replies of a single ICommentThreaded. The returned value reflects the number of items in the current collection.
ICommentThreaded comment = worksheet.getRange("A1").addCommentThreaded("Please review the total.", "Alex");
comment.addReply("I updated the number.", "Jamie");
ICommentsThreaded replies = comment.getReplies();
int count = replies.getCount();