# C1.WPF.Excel.XLCommentCollection

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_WPF_Excel_XLCommentCollection" data-uid="C1.WPF.Excel.XLCommentCollection" class="text-break">XLCommentCollection Class
</h1>
  <div class="markdown level0 summary"><p>Represents a collection of <a class="xref" href="C1.WPF.Excel.XLComment.html">XLComment</a> objects in a <a class="xref" href="C1.WPF.Excel.XLSheet.html">XLSheet</a>.</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"><span class="xref">XLCommentCollection</span></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.ienumerable">IEnumerable</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.WPF.Excel.html">C1.WPF.Excel</a></h6>
  <h6><strong>Assembly</strong>: C1.WPF.Excel.4.6.2.dll</h6>
  <h5 id="C1_WPF_Excel_XLCommentCollection_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class XLCommentCollection : IEnumerable</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class XLCommentCollection
    Implements IEnumerable</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="C1_WPF_Excel_XLCommentCollection_Count" data-uid="C1.WPF.Excel.XLCommentCollection.Count">
          <a class="xref" href="C1.WPF.Excel.XLCommentCollection.Count.html#C1_WPF_Excel_XLCommentCollection_Count">Count</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the number of <a class="xref" href="C1.WPF.Excel.XLComment.html">XLComment</a> objects in the collection.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Excel_XLCommentCollection_Item_System_Int32_" data-uid="C1.WPF.Excel.XLCommentCollection.Item(System.Int32)">
          <a class="xref" href="C1.WPF.Excel.XLCommentCollection.Item.html#C1_WPF_Excel_XLCommentCollection_Item_System_Int32_">this[int]</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the <a class="xref" href="C1.WPF.Excel.XLComment.html">XLComment</a> object at the specified position in the collection.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Excel_XLCommentCollection_Sheet" data-uid="C1.WPF.Excel.XLCommentCollection.Sheet">
          <a class="xref" href="C1.WPF.Excel.XLCommentCollection.Sheet.html#C1_WPF_Excel_XLCommentCollection_Sheet">Sheet</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the <a class="xref" href="C1.WPF.Excel.XLSheet.html">XLSheet</a> object that owns the collection.</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="C1_WPF_Excel_XLCommentCollection_Add_C1_WPF_Excel_XLComment_" data-uid="C1.WPF.Excel.XLCommentCollection.Add(C1.WPF.Excel.XLComment)">
          <a class="xref" href="C1.WPF.Excel.XLCommentCollection.Add.html#C1_WPF_Excel_XLCommentCollection_Add_C1_WPF_Excel_XLComment_">Add(XLComment)</a>
        </td>
        <td class="markdown level1 summary"><p>Appends an <a class="xref" href="C1.WPF.Excel.XLComment.html">XLComment</a> object to the collection.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Excel_XLCommentCollection_Add_System_Int32_System_Int32_System_String_" data-uid="C1.WPF.Excel.XLCommentCollection.Add(System.Int32,System.Int32,System.String)">
          <a class="xref" href="C1.WPF.Excel.XLCommentCollection.Add.html#C1_WPF_Excel_XLCommentCollection_Add_System_Int32_System_Int32_System_String_">Add(int, int, string)</a>
        </td>
        <td class="markdown level1 summary"><p>Creates an <a class="xref" href="C1.WPF.Excel.XLComment.html">XLComment</a> object and appends it to the collection.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Excel_XLCommentCollection_Add_System_Int32_System_Int32_System_String_System_String_" data-uid="C1.WPF.Excel.XLCommentCollection.Add(System.Int32,System.Int32,System.String,System.String)">
          <a class="xref" href="C1.WPF.Excel.XLCommentCollection.Add.html#C1_WPF_Excel_XLCommentCollection_Add_System_Int32_System_Int32_System_String_System_String_">Add(int, int, string, string)</a>
        </td>
        <td class="markdown level1 summary"><p>Creates an <a class="xref" href="C1.WPF.Excel.XLComment.html">XLComment</a> object and appends it to the collection.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Excel_XLCommentCollection_Add_System_Int32_System_Int32_System_String_System_String_System_Boolean_" data-uid="C1.WPF.Excel.XLCommentCollection.Add(System.Int32,System.Int32,System.String,System.String,System.Boolean)">
          <a class="xref" href="C1.WPF.Excel.XLCommentCollection.Add.html#C1_WPF_Excel_XLCommentCollection_Add_System_Int32_System_Int32_System_String_System_String_System_Boolean_">Add(int, int, string, string, bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Creates an <a class="xref" href="C1.WPF.Excel.XLComment.html">XLComment</a> object and appends it to the collection.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Excel_XLCommentCollection_Clear" data-uid="C1.WPF.Excel.XLCommentCollection.Clear">
          <a class="xref" href="C1.WPF.Excel.XLCommentCollection.Clear.html#C1_WPF_Excel_XLCommentCollection_Clear">Clear()</a>
        </td>
        <td class="markdown level1 summary"><p>Removes all <a class="xref" href="C1.WPF.Excel.XLComment.html">XLComment</a> objects from the collection.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Excel_XLCommentCollection_Contains_C1_WPF_Excel_XLComment_" data-uid="C1.WPF.Excel.XLCommentCollection.Contains(C1.WPF.Excel.XLComment)">
          <a class="xref" href="C1.WPF.Excel.XLCommentCollection.Contains.html#C1_WPF_Excel_XLCommentCollection_Contains_C1_WPF_Excel_XLComment_">Contains(XLComment)</a>
        </td>
        <td class="markdown level1 summary"><p>Checks whether the collection contains a specific <a class="xref" href="C1.WPF.Excel.XLComment.html">XLComment</a> object.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Excel_XLCommentCollection_IndexOf_C1_WPF_Excel_XLComment_" data-uid="C1.WPF.Excel.XLCommentCollection.IndexOf(C1.WPF.Excel.XLComment)">
          <a class="xref" href="C1.WPF.Excel.XLCommentCollection.IndexOf.html#C1_WPF_Excel_XLCommentCollection_IndexOf_C1_WPF_Excel_XLComment_">IndexOf(XLComment)</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the index of a specific <a class="xref" href="C1.WPF.Excel.XLComment.html">XLComment</a> object in the collection.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Excel_XLCommentCollection_Insert_System_Int32_C1_WPF_Excel_XLComment_" data-uid="C1.WPF.Excel.XLCommentCollection.Insert(System.Int32,C1.WPF.Excel.XLComment)">
          <a class="xref" href="C1.WPF.Excel.XLCommentCollection.Insert.html#C1_WPF_Excel_XLCommentCollection_Insert_System_Int32_C1_WPF_Excel_XLComment_">Insert(int, XLComment)</a>
        </td>
        <td class="markdown level1 summary"><p>Inserts an <a class="xref" href="C1.WPF.Excel.XLComment.html">XLComment</a> object at a specific position in the
collection.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Excel_XLCommentCollection_Remove_C1_WPF_Excel_XLComment_" data-uid="C1.WPF.Excel.XLCommentCollection.Remove(C1.WPF.Excel.XLComment)">
          <a class="xref" href="C1.WPF.Excel.XLCommentCollection.Remove.html#C1_WPF_Excel_XLCommentCollection_Remove_C1_WPF_Excel_XLComment_">Remove(XLComment)</a>
        </td>
        <td class="markdown level1 summary"><p>Removes an <a class="xref" href="C1.WPF.Excel.XLComment.html">XLComment</a> object from the collection.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Excel_XLCommentCollection_RemoveAt_System_Int32_" data-uid="C1.WPF.Excel.XLCommentCollection.RemoveAt(System.Int32)">
          <a class="xref" href="C1.WPF.Excel.XLCommentCollection.RemoveAt.html#C1_WPF_Excel_XLCommentCollection_RemoveAt_System_Int32_">RemoveAt(int)</a>
        </td>
        <td class="markdown level1 summary"><p>Removes an <a class="xref" href="C1.WPF.Excel.XLComment.html">XLComment</a> object at a specific position from the collection.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
