# GrapeCity.Documents.Word.ContentControlCollection

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="GrapeCity_Documents_Word_ContentControlCollection" data-uid="GrapeCity.Documents.Word.ContentControlCollection" class="text-break">ContentControlCollection Class
</h1>
  <div class="markdown level0 summary"><p>Represents a collection of <a class="xref" href="GrapeCity.Documents.Word.ContentControl.html">ContentControl</a> items.</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.ContentCollection-1.html">ContentCollection</a>&lt;<a class="xref" href="GrapeCity.Documents.Word.ContentControl.html">ContentControl</a>&gt;</div>
    <div class="level2"><a class="xref" href="GrapeCity.Documents.Word.ContentObjectCollection-1.html">ContentObjectCollection</a>&lt;<a class="xref" href="GrapeCity.Documents.Word.ContentControl.html">ContentControl</a>&gt;</div>
    <div class="level3"><span class="xref">ContentControlCollection</span></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="GrapeCity.Documents.Word.IContentList-1.html">IContentList</a>&lt;<a class="xref" href="GrapeCity.Documents.Word.ContentControl.html">ContentControl</a>&gt;</div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.ireadonlylist-1">IReadOnlyList</a>&lt;<a class="xref" href="GrapeCity.Documents.Word.ContentControl.html">ContentControl</a>&gt;</div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.ireadonlycollection-1">IReadOnlyCollection</a>&lt;<a class="xref" href="GrapeCity.Documents.Word.ContentControl.html">ContentControl</a>&gt;</div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.ienumerable-1">IEnumerable</a>&lt;<a class="xref" href="GrapeCity.Documents.Word.ContentControl.html">ContentControl</a>&gt;</div>
    <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="GrapeCity.Documents.Word.html">GrapeCity.Documents.Word</a></h6>
  <h6><strong>Assembly</strong>: DS.Documents.Word.dll</h6>
  <h5 id="GrapeCity_Documents_Word_ContentControlCollection_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class ContentControlCollection : ContentObjectCollection&lt;ContentControl&gt;, IContentList&lt;ContentControl&gt;, IReadOnlyList&lt;ContentControl&gt;, IReadOnlyCollection&lt;ContentControl&gt;, IEnumerable&lt;ContentControl&gt;, IEnumerable</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class ContentControlCollection
    Inherits ContentObjectCollection(Of ContentControl)
    Implements IContentList(Of ContentControl), IReadOnlyList(Of ContentControl), IReadOnlyCollection(Of ContentControl), IEnumerable(Of ContentControl), IEnumerable</code></pre>
  </div>
  <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_ContentControlCollection_Add_GrapeCity_Documents_Word_ContentControlType_System_Boolean_" data-uid="GrapeCity.Documents.Word.ContentControlCollection.Add(GrapeCity.Documents.Word.ContentControlType,System.Boolean)">
          <a class="xref" href="GrapeCity.Documents.Word.ContentControlCollection.Add.html#GrapeCity_Documents_Word_ContentControlCollection_Add_GrapeCity_Documents_Word_ContentControlType_System_Boolean_">Add(ContentControlType, bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Adds a <a class="xref" href="GrapeCity.Documents.Word.ContentControl.html">ContentControl</a> into the collection at the <a class="xref" href="GrapeCity.Documents.Word.InsertLocation.html#GrapeCity_Documents_Word_InsertLocation_End">End</a> location.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_ContentControlCollection_Insert_GrapeCity_Documents_Word_ContentControlType_GrapeCity_Documents_Word_InsertLocation_System_Boolean_" data-uid="GrapeCity.Documents.Word.ContentControlCollection.Insert(GrapeCity.Documents.Word.ContentControlType,GrapeCity.Documents.Word.InsertLocation,System.Boolean)">
          <a class="xref" href="GrapeCity.Documents.Word.ContentControlCollection.Insert.html#GrapeCity_Documents_Word_ContentControlCollection_Insert_GrapeCity_Documents_Word_ContentControlType_GrapeCity_Documents_Word_InsertLocation_System_Boolean_">Insert(ContentControlType, InsertLocation, bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Inserts a <a class="xref" href="GrapeCity.Documents.Word.ContentControl.html">ContentControl</a> into the collection at the specified location.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
