Excel.Interfaces.CommentData interface
An interface describing the data returned by calling comment.toJSON()
.
Properties
author |
Gets the email of the comment's author. |
author |
Gets the name of the comment's author. |
content | The comment's content. The string is plain text. |
creation |
Gets the creation time of the comment. Returns |
id | Specifies the comment identifier. |
mentions | Gets the entities (e.g., people) that are mentioned in comments. |
replies | Represents a collection of reply objects associated with the comment. |
resolved | The comment thread status. A value of |
rich |
Gets the rich comment content (e.g., mentions in comments). This string is not meant to be displayed to end-users. Your add-in should only use this to parse rich comment content. |
Property Details
authorEmail
Gets the email of the comment's author.
authorEmail?: string;
Property Value
string
Remarks
authorName
Gets the name of the comment's author.
authorName?: string;
Property Value
string
Remarks
content
The comment's content. The string is plain text.
content?: string;
Property Value
string
Remarks
creationDate
Gets the creation time of the comment. Returns null
if the comment was converted from a note, since the comment does not have a creation date.
creationDate?: Date;
Property Value
Date
Remarks
id
Specifies the comment identifier.
id?: string;
Property Value
string
Remarks
mentions
Gets the entities (e.g., people) that are mentioned in comments.
mentions?: Excel.CommentMention[];
Property Value
Remarks
replies
Represents a collection of reply objects associated with the comment.
replies?: Excel.Interfaces.CommentReplyData[];
Property Value
Remarks
resolved
The comment thread status. A value of true
means that the comment thread is resolved.
resolved?: boolean;
Property Value
boolean
Remarks
richContent
Gets the rich comment content (e.g., mentions in comments). This string is not meant to be displayed to end-users. Your add-in should only use this to parse rich comment content.
richContent?: string;
Property Value
string
Remarks
Office Add-ins