[]
Represents a cell's threaded comment. This object can represent both a top-level comment or its replies.
public interface ICommentThreaded
Gets the author object of the threaded comment.
IAuthor Author { get; }
Returns a date that represents the date and time that a threaded comment was added in local time.
DateTime Date { get; }
Gets or Sets the resolve value.
bool IsResolved { get; set; }
Returns the parent object for the specified object. The top-level threaded comment's parent is null.
ICommentThreaded Parent { get; }
Gets or Sets a CommentsThreaded collection of CommentThreaded objects that are replies if the specified comment. The replies are sorted by time stamp. If this threaded comment is a reply,returns an empty collection.
ICommentsThreaded Replies { get; }
Gets or Sets the threaded comment's text.
string Text { get; set; }
Adds a reply to its replies collection if the threaded comment is a top-level comment. If this threaded comment is a reply,it will add a reply to its Parent's replies collection.
ICommentThreaded AddReply(string text, string author = null)
text
stringThe string is content of the reply.
author
stringThe author's name.
Deletes the specified threaded comment and all replies associated with that comment. If threaded comment is a reply, delete itself from the parent's reply list.
void Delete()
Returns the threaded comment object that represents the next threaded comment. Returns null if the top-level threaded comment is the last threaded comment on a sheet. Returns null if the reply threaded comment is the last reply of a threaded comment's replies.
ICommentThreaded Next()
Returns the threaded comment object that represents the previous threaded comment. Returns null if the top-level threaded comment is the first threaded comment on a sheet. Returns null if the reply threaded comment is the first reply of a threaded comment's replies.
ICommentThreaded Previous()