[]
        
(Showing Draft Content)

GrapeCity.Spreadsheet.ICommentThreaded

ICommentThreaded Interface

Represents a cell's threaded comment. This object can represent both a top-level comment or its replies.

Namespace: GrapeCity.Spreadsheet
Assembly: GrapeCity.Spreadsheet.dll
Syntax
public interface ICommentThreaded
Public Interface ICommentThreaded

Properties

Name Description
Author

Gets the IAuthor object that represents the author of the specified ICommentThreaded object.

Date

Gets a DateTime value that represents the date and time that a threaded comment was added in local time.

Next

Gets an ICommentThreaded object that represents the next threaded comment.

Parent

Gets the top-level comment.

Previous

Gets an ICommentThreaded object that represents the previous threaded comment.

Replies

If this comment is a parent, returns an ICommentsThreaded collection of ICommentThreaded objects that are children/replies of the specified comment (if any exist). The replies are sorted by time stamp.

If this comment is a child/reply or a legacy comment, returns an empty collection.

Resolved

Gets or sets a boolean value indicating whether the threaded comment is resolved.

Methods

Name Description
AddReply(string)

If the comment is a top-level comment, it will add a reply to its replies collection. If this comment is a reply, it will add a reply to its Parent's replies collection.

Delete()

Deletes the specified threaded comment and all replies associated with that comment (if any exist).

Text(string, int, bool?)

Sets threaded comment text.