Comment Class
Represents a comment that is anchored to a region of document content.
public sealed class Comment : Element, IContentElement
Public NotInheritable Class Comment
Inherits Element
Implements IContentElement
- Inheritance:
- System.ObjectComment
Implements
Constructors
Comment(DocumentModel)
Creates the new instance of the Comment class
Parameters
document
- DocumentModel
The owner document.
Properties
Author
Gets or sets the author of the current comment.
Property Value
- System.String
The author of the current comment.
Blocks
Gets the content of the comment.
Property Value
The content of the comment.
Date
Gets or sets the date of the current comment.
Property Value
- System.DateTime
The date of the current comment.
ElementType
Gets the ElementType of this Element instance.
public override ElementType ElementType { get; }
Public Overrides ReadOnly Property ElementType As ElementType
Property Value
The ElementType of this Element instance.
Overrides
End
Gets the element that marks the end of this comment.
Property Value
The end of this comment.
Initials
Gets or sets the initials of the author of the current comment.
Property Value
- System.String
The initials of the author of the current comment.
ReplyTo
Gets or sets the comment to which this comment is a reply.
Property Value
The comment to which this comment is a reply.
Resolved
Gets or sets whether the comment was marked as resolved.
Property Value
- System.Boolean
True if comment is resolved, false otherwise.
Start
Gets the element that marks the start of this comment.
Property Value
The start of this comment.
Inherited Properties
Content | Gets the content of the current Element. (Inherited from Element) |
Document | Gets the owner document. (Inherited from Element) |
Parent | Gets the parent of this Element instance. (Inherited from Element) |
ParentCollection | Gets the ElementCollection that contains this Element instance. (Inherited from Element) |
Inherited Methods
Clone(System.Boolean) | Clones this Element instance, and optionally clones it's descendants. (Inherited from Element) |
GetChildElements(System.Boolean) | Gets the child elements. (Inherited from Element) |
GetChildElements(System.Boolean, ElementType[]) | Gets the child elements filtered by ElementType. (Inherited from Element) |
GetParentElements() | Gets the parent elements. (Inherited from Element) |
GetParentElements(ElementType[]) | Gets the parent elements. (Inherited from Element) |