[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.ICommentThreaded

Interface ICommentThreaded

Namespace
GrapeCity.Documents.Excel
Assembly
GcDocs.Excel.dll

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

public interface ICommentThreaded

Properties

Author

Gets the author object of the threaded comment.

IAuthor Author { get; }

Property Value

IAuthor

Date

Returns a date that represents the date and time that a threaded comment was added in local time.

DateTime Date { get; }

Property Value

System.DateTime

IsResolved

Gets or Sets the resolve value.

bool IsResolved { get; set; }

Property Value

bool

Parent

Returns the parent object for the specified object. The top-level threaded comment's parent is null.

ICommentThreaded Parent { get; }

Property Value

ICommentThreaded

Replies

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; }

Property Value

ICommentsThreaded

Text

Gets or Sets the threaded comment's text.

string Text { get; set; }

Property Value

string

Methods

AddReply(string, string)

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)

Parameters

text string

The string is content of the reply.

author string

The author's name.

Returns

ICommentThreaded

Delete()

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()

Next()

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

ICommentThreaded

Previous()

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()

Returns

ICommentThreaded