# GrapeCity.Documents.Word.Comment

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="GrapeCity_Documents_Word_Comment" data-uid="GrapeCity.Documents.Word.Comment" class="text-break">Comment Class
</h1>
  <div class="markdown level0 summary"><p>Represents a comment range in a body content.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <div class="inheritance">
    <h5>Inheritance</h5>
    <div class="level0"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a></div>
    <div class="level1"><a class="xref" href="GrapeCity.Documents.Word.ContentRange.html">ContentRange</a></div>
    <div class="level2"><span class="xref">Comment</span></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="GrapeCity.Documents.Word.IBrowsable-1.html">IBrowsable</a>&lt;<a class="xref" href="GrapeCity.Documents.Word.Comment.html">Comment</a>&gt;</div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="GrapeCity.Documents.Word.html">GrapeCity.Documents.Word</a></h6>
  <h6><strong>Assembly</strong>: DS.Documents.Word.dll</h6>
  <h5 id="GrapeCity_Documents_Word_Comment_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class Comment : ContentRange, IBrowsable&lt;Comment&gt;</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class Comment
    Inherits ContentRange
    Implements IBrowsable(Of Comment)</code></pre>
  </div>
  <h3 id="properties">Properties
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="GrapeCity_Documents_Word_Comment_Ancestor" data-uid="GrapeCity.Documents.Word.Comment.Ancestor">
          <a class="xref" href="GrapeCity.Documents.Word.Comment.Ancestor.html#GrapeCity_Documents_Word_Comment_Ancestor">Ancestor</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the parent <a class="xref" href="GrapeCity.Documents.Word.Comment.html">Comment</a> for comments that are replies
to an existing comment.</p>
<p>For new (top-level) comments returns null.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_Comment_Author" data-uid="GrapeCity.Documents.Word.Comment.Author">
          <a class="xref" href="GrapeCity.Documents.Word.Comment.Author.html#GrapeCity_Documents_Word_Comment_Author">Author</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the author of this comment.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_Comment_Body" data-uid="GrapeCity.Documents.Word.Comment.Body">
          <a class="xref" href="GrapeCity.Documents.Word.Comment.Body.html#GrapeCity_Documents_Word_Comment_Body">Body</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the content of this comment.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_Comment_Date" data-uid="GrapeCity.Documents.Word.Comment.Date">
          <a class="xref" href="GrapeCity.Documents.Word.Comment.Date.html#GrapeCity_Documents_Word_Comment_Date">Date</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the date of this comment.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_Comment_Done" data-uid="GrapeCity.Documents.Word.Comment.Done">
          <a class="xref" href="GrapeCity.Documents.Word.Comment.Done.html#GrapeCity_Documents_Word_Comment_Done">Done</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value indicating whether the comment has been marked closed.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_Comment_EndDisplacedByCustomXml" data-uid="GrapeCity.Documents.Word.Comment.EndDisplacedByCustomXml">
          <a class="xref" href="GrapeCity.Documents.Word.Comment.EndDisplacedByCustomXml.html#GrapeCity_Documents_Word_Comment_EndDisplacedByCustomXml">EndDisplacedByCustomXml</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value indicating that the end annotation's placement
shall be directly linked with the location of the physical presentation
of a custom XML element in the document.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_Comment_ID" data-uid="GrapeCity.Documents.Word.Comment.ID">
          <a class="xref" href="GrapeCity.Documents.Word.Comment.ID.html#GrapeCity_Documents_Word_Comment_ID">ID</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the unique ID of this comment.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_Comment_Initials" data-uid="GrapeCity.Documents.Word.Comment.Initials">
          <a class="xref" href="GrapeCity.Documents.Word.Comment.Initials.html#GrapeCity_Documents_Word_Comment_Initials">Initials</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the initials of the author of this comment.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_Comment_Next" data-uid="GrapeCity.Documents.Word.Comment.Next">
          <a class="xref" href="GrapeCity.Documents.Word.Comment.Next.html#GrapeCity_Documents_Word_Comment_Next">Next</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the next comment.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_Comment_Previous" data-uid="GrapeCity.Documents.Word.Comment.Previous">
          <a class="xref" href="GrapeCity.Documents.Word.Comment.Previous.html#GrapeCity_Documents_Word_Comment_Previous">Previous</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the previous comment.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_Comment_Reference" data-uid="GrapeCity.Documents.Word.Comment.Reference">
          <a class="xref" href="GrapeCity.Documents.Word.Comment.Reference.html#GrapeCity_Documents_Word_Comment_Reference">Reference</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the comment content reference mark that links to this comment content.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_Comment_Replies" data-uid="GrapeCity.Documents.Word.Comment.Replies">
          <a class="xref" href="GrapeCity.Documents.Word.Comment.Replies.html#GrapeCity_Documents_Word_Comment_Replies">Replies</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the list of child <a class="xref" href="GrapeCity.Documents.Word.Comment.html">Comment</a> objects that are replies to this comment.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_Comment_StartDisplacedByCustomXml" data-uid="GrapeCity.Documents.Word.Comment.StartDisplacedByCustomXml">
          <a class="xref" href="GrapeCity.Documents.Word.Comment.StartDisplacedByCustomXml.html#GrapeCity_Documents_Word_Comment_StartDisplacedByCustomXml">StartDisplacedByCustomXml</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value indicating that the start annotation's placement
shall be directly linked with the location of the physical presentation
of a custom XML element in the document.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="methods">Methods
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="GrapeCity_Documents_Word_Comment_Delete" data-uid="GrapeCity.Documents.Word.Comment.Delete">
          <a class="xref" href="GrapeCity.Documents.Word.Comment.Delete.html#GrapeCity_Documents_Word_Comment_Delete">Delete()</a>
        </td>
        <td class="markdown level1 summary"><p>Deletes this comment from the parent <a class="xref" href="GrapeCity.Documents.Word.Comment.Body.html#GrapeCity_Documents_Word_Comment_Body">Body</a>.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_Comment_Delete_System_Boolean_" data-uid="GrapeCity.Documents.Word.Comment.Delete(System.Boolean)">
          <a class="xref" href="GrapeCity.Documents.Word.Comment.Delete.html#GrapeCity_Documents_Word_Comment_Delete_System_Boolean_">Delete(bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Deletes this comment and optionally all replies associated with it from the parent <a class="xref" href="GrapeCity.Documents.Word.Comment.Body.html#GrapeCity_Documents_Word_Comment_Body">Body</a>.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_Comment_Reply_System_String_System_String_" data-uid="GrapeCity.Documents.Word.Comment.Reply(System.String,System.String)">
          <a class="xref" href="GrapeCity.Documents.Word.Comment.Reply.html#GrapeCity_Documents_Word_Comment_Reply_System_String_System_String_">Reply(string, string)</a>
        </td>
        <td class="markdown level1 summary"><p>Adds a new <a class="xref" href="GrapeCity.Documents.Word.Comment.html">Comment</a> to the <a class="xref" href="GrapeCity.Documents.Word.Comment.Replies.html#GrapeCity_Documents_Word_Comment_Replies">Replies</a> collection of this comment.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_Comment_Reply_System_String_System_String_System_DateTime_" data-uid="GrapeCity.Documents.Word.Comment.Reply(System.String,System.String,System.DateTime)">
          <a class="xref" href="GrapeCity.Documents.Word.Comment.Reply.html#GrapeCity_Documents_Word_Comment_Reply_System_String_System_String_System_DateTime_">Reply(string, string, DateTime)</a>
        </td>
        <td class="markdown level1 summary"><p>Adds a new <a class="xref" href="GrapeCity.Documents.Word.Comment.html">Comment</a> to the <a class="xref" href="GrapeCity.Documents.Word.Comment.Replies.html#GrapeCity_Documents_Word_Comment_Replies">Replies</a> collection of this comment.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_Comment_Reply_System_String_System_String_System_DateTime_System_String_" data-uid="GrapeCity.Documents.Word.Comment.Reply(System.String,System.String,System.DateTime,System.String)">
          <a class="xref" href="GrapeCity.Documents.Word.Comment.Reply.html#GrapeCity_Documents_Word_Comment_Reply_System_String_System_String_System_DateTime_System_String_">Reply(string, string, DateTime, string)</a>
        </td>
        <td class="markdown level1 summary"><p>Adds a new <a class="xref" href="GrapeCity.Documents.Word.Comment.html">Comment</a> to the <a class="xref" href="GrapeCity.Documents.Word.Comment.Replies.html#GrapeCity_Documents_Word_Comment_Replies">Replies</a> collection of this comment.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_Comment_ToString" data-uid="GrapeCity.Documents.Word.Comment.ToString">
          <a class="xref" href="GrapeCity.Documents.Word.Comment.ToString.html#GrapeCity_Documents_Word_Comment_ToString">ToString()</a>
        </td>
        <td class="markdown level1 summary"><p>Gets string representation of the content.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
