Word.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 | Specifies the comment's content as plain text. |
content |
Specifies the comment's content range. |
creation |
Gets the creation date of the comment. |
id | Gets the ID of the comment. |
replies | Gets the collection of reply objects associated with the comment. |
resolved | Specifies the comment thread's status. Setting to true resolves the comment thread. Getting a value of true means that the comment thread is resolved. |
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
Specifies the comment's content as plain text.
content?: string;
Property Value
string
Remarks
contentRange
Specifies the comment's content range.
contentRange?: Word.Interfaces.CommentContentRangeData;
Property Value
Remarks
creationDate
Gets the creation date of the comment.
creationDate?: Date;
Property Value
Date
Remarks
id
replies
Gets the collection of reply objects associated with the comment.
replies?: Word.Interfaces.CommentReplyData[];
Property Value
Remarks
resolved
Specifies the comment thread's status. Setting to true resolves the comment thread. Getting a value of true means that the comment thread is resolved.
resolved?: boolean;
Property Value
boolean
Remarks
Office Add-ins