# C1.C1Word.Objects.RtfBookmarkCollection

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_C1Word_Objects_RtfBookmarkCollection" data-uid="C1.C1Word.Objects.RtfBookmarkCollection" class="text-break">RtfBookmarkCollection Class
</h1>
  <div class="markdown level0 summary"><p>The bookmark collection object.</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">RtfBookmarkCollection</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.C1Word.Objects.html">C1.C1Word.Objects</a></h6>
  <h6><strong>Assembly</strong>: C1.C1Word.4.8.dll</h6>
  <h5 id="C1_C1Word_Objects_RtfBookmarkCollection_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class RtfBookmarkCollection : IEnumerable</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class RtfBookmarkCollection
    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_C1Word_Objects_RtfBookmarkCollection_Count" data-uid="C1.C1Word.Objects.RtfBookmarkCollection.Count">
          <a class="xref" href="C1.C1Word.Objects.RtfBookmarkCollection.Count.html#C1_C1Word_Objects_RtfBookmarkCollection_Count">Count</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the number of Word/RTF bookmark in the collection.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Word_Objects_RtfBookmarkCollection_Item_System_Int32_" data-uid="C1.C1Word.Objects.RtfBookmarkCollection.Item(System.Int32)">
          <a class="xref" href="C1.C1Word.Objects.RtfBookmarkCollection.Item.html#C1_C1Word_Objects_RtfBookmarkCollection_Item_System_Int32_">this[int]</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the Word/RTF bookmark at the specified index within the collection.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Word_Objects_RtfBookmarkCollection_Item_System_String_" data-uid="C1.C1Word.Objects.RtfBookmarkCollection.Item(System.String)">
          <a class="xref" href="C1.C1Word.Objects.RtfBookmarkCollection.Item.html#C1_C1Word_Objects_RtfBookmarkCollection_Item_System_String_">this[string]</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the Word/RTF bookmark at the specified name within 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_C1Word_Objects_RtfBookmarkCollection_Add_C1_C1Word_Objects_RtfBookmark_" data-uid="C1.C1Word.Objects.RtfBookmarkCollection.Add(C1.C1Word.Objects.RtfBookmark)">
          <a class="xref" href="C1.C1Word.Objects.RtfBookmarkCollection.Add.html#C1_C1Word_Objects_RtfBookmarkCollection_Add_C1_C1Word_Objects_RtfBookmark_">Add(RtfBookmark)</a>
        </td>
        <td class="markdown level1 summary"><p>Adds the Word/RTF bookmark to the collection.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Word_Objects_RtfBookmarkCollection_Clear" data-uid="C1.C1Word.Objects.RtfBookmarkCollection.Clear">
          <a class="xref" href="C1.C1Word.Objects.RtfBookmarkCollection.Clear.html#C1_C1Word_Objects_RtfBookmarkCollection_Clear">Clear()</a>
        </td>
        <td class="markdown level1 summary"><p>Removes all bookmarks from the collection.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Word_Objects_RtfBookmarkCollection_Contains_C1_C1Word_Objects_RtfBookmark_" data-uid="C1.C1Word.Objects.RtfBookmarkCollection.Contains(C1.C1Word.Objects.RtfBookmark)">
          <a class="xref" href="C1.C1Word.Objects.RtfBookmarkCollection.Contains.html#C1_C1Word_Objects_RtfBookmarkCollection_Contains_C1_C1Word_Objects_RtfBookmark_">Contains(RtfBookmark)</a>
        </td>
        <td class="markdown level1 summary"><p>Determines whether the Word/RTF bookmark is located within the collection.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Word_Objects_RtfBookmarkCollection_Contains_System_String_" data-uid="C1.C1Word.Objects.RtfBookmarkCollection.Contains(System.String)">
          <a class="xref" href="C1.C1Word.Objects.RtfBookmarkCollection.Contains.html#C1_C1Word_Objects_RtfBookmarkCollection_Contains_System_String_">Contains(string)</a>
        </td>
        <td class="markdown level1 summary"><p>Determines whether the bookmark with name is located within the collection.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Word_Objects_RtfBookmarkCollection_IndexOf_C1_C1Word_Objects_RtfBookmark_" data-uid="C1.C1Word.Objects.RtfBookmarkCollection.IndexOf(C1.C1Word.Objects.RtfBookmark)">
          <a class="xref" href="C1.C1Word.Objects.RtfBookmarkCollection.IndexOf.html#C1_C1Word_Objects_RtfBookmarkCollection_IndexOf_C1_C1Word_Objects_RtfBookmark_">IndexOf(RtfBookmark)</a>
        </td>
        <td class="markdown level1 summary"><p>Returns the index within the collection of the element.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Word_Objects_RtfBookmarkCollection_IndexOf_System_String_" data-uid="C1.C1Word.Objects.RtfBookmarkCollection.IndexOf(System.String)">
          <a class="xref" href="C1.C1Word.Objects.RtfBookmarkCollection.IndexOf.html#C1_C1Word_Objects_RtfBookmarkCollection_IndexOf_System_String_">IndexOf(string)</a>
        </td>
        <td class="markdown level1 summary"><p>Returns the index within the collection of the element.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Word_Objects_RtfBookmarkCollection_Insert_System_Int32_C1_C1Word_Objects_RtfBookmark_" data-uid="C1.C1Word.Objects.RtfBookmarkCollection.Insert(System.Int32,C1.C1Word.Objects.RtfBookmark)">
          <a class="xref" href="C1.C1Word.Objects.RtfBookmarkCollection.Insert.html#C1_C1Word_Objects_RtfBookmarkCollection_Insert_System_Int32_C1_C1Word_Objects_RtfBookmark_">Insert(int, RtfBookmark)</a>
        </td>
        <td class="markdown level1 summary"><p>Inserts an item into the RTF bookmark collection of the RTF bookmark at the specified index.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Word_Objects_RtfBookmarkCollection_Remove_C1_C1Word_Objects_RtfBookmark_" data-uid="C1.C1Word.Objects.RtfBookmarkCollection.Remove(C1.C1Word.Objects.RtfBookmark)">
          <a class="xref" href="C1.C1Word.Objects.RtfBookmarkCollection.Remove.html#C1_C1Word_Objects_RtfBookmarkCollection_Remove_C1_C1Word_Objects_RtfBookmark_">Remove(RtfBookmark)</a>
        </td>
        <td class="markdown level1 summary"><p>Removes the specified RTF bookmark from the collection.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Word_Objects_RtfBookmarkCollection_RemoveAt_System_Int32_" data-uid="C1.C1Word.Objects.RtfBookmarkCollection.RemoveAt(System.Int32)">
          <a class="xref" href="C1.C1Word.Objects.RtfBookmarkCollection.RemoveAt.html#C1_C1Word_Objects_RtfBookmarkCollection_RemoveAt_System_Int32_">RemoveAt(int)</a>
        </td>
        <td class="markdown level1 summary"><p>Removes the item at the specified index within the collection.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
