# GrapeCity.Documents.Word.ContentObjectCollection-1

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="GrapeCity_Documents_Word_ContentObjectCollection_1" data-uid="GrapeCity.Documents.Word.ContentObjectCollection`1" class="text-break">ContentObjectCollection&lt;T&gt; Class
</h1>
  <div class="markdown level0 summary"><p>Represents a collection of <a class="xref" href="GrapeCity.Documents.Word.ContentObject.html">ContentObject</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"><a class="xref" href="GrapeCity.Documents.Word.ContentCollection-1.html">ContentCollection</a>&lt;T&gt;</div>
    <div class="level2"><span class="xref">ContentObjectCollection&lt;T&gt;</span></div>
      <div class="level3"><a class="xref" href="GrapeCity.Documents.Word.BidirectionalOverrideCollection.html">BidirectionalOverrideCollection</a></div>
      <div class="level3"><a class="xref" href="GrapeCity.Documents.Word.CanvasShapeCollection.html">CanvasShapeCollection</a></div>
      <div class="level3"><a class="xref" href="GrapeCity.Documents.Word.CellCollection.html">CellCollection</a></div>
      <div class="level3"><a class="xref" href="GrapeCity.Documents.Word.ContentControlCollection.html">ContentControlCollection</a></div>
      <div class="level3"><a class="xref" href="GrapeCity.Documents.Word.EndnoteCollection.html">EndnoteCollection</a></div>
      <div class="level3"><a class="xref" href="GrapeCity.Documents.Word.FieldCodeCollection.html">FieldCodeCollection</a></div>
      <div class="level3"><a class="xref" href="GrapeCity.Documents.Word.FootnoteCollection.html">FootnoteCollection</a></div>
      <div class="level3"><a class="xref" href="GrapeCity.Documents.Word.GroupShapeCollection.html">GroupShapeCollection</a></div>
      <div class="level3"><a class="xref" href="GrapeCity.Documents.Word.HyperlinkCollection.html">HyperlinkCollection</a></div>
      <div class="level3"><a class="xref" href="GrapeCity.Documents.Word.InkShapeCollection.html">InkShapeCollection</a></div>
      <div class="level3"><a class="xref" href="GrapeCity.Documents.Word.OMathCollection.html">OMathCollection</a></div>
      <div class="level3"><a class="xref" href="GrapeCity.Documents.Word.OMathElementCollection.html">OMathElementCollection</a></div>
      <div class="level3"><a class="xref" href="GrapeCity.Documents.Word.OMathMatrixRowCollection.html">OMathMatrixRowCollection</a></div>
      <div class="level3"><a class="xref" href="GrapeCity.Documents.Word.OMathParagraphCollection.html">OMathParagraphCollection</a></div>
      <div class="level3"><a class="xref" href="GrapeCity.Documents.Word.OMathStructCollection.html">OMathStructCollection</a></div>
      <div class="level3"><a class="xref" href="GrapeCity.Documents.Word.ParagraphCollection.html">ParagraphCollection</a></div>
      <div class="level3"><a class="xref" href="GrapeCity.Documents.Word.PictureCollection.html">PictureCollection</a></div>
      <div class="level3"><a class="xref" href="GrapeCity.Documents.Word.RangeBase.html">RangeBase</a></div>
      <div class="level3"><a class="xref" href="GrapeCity.Documents.Word.RowCollection.html">RowCollection</a></div>
      <div class="level3"><a class="xref" href="GrapeCity.Documents.Word.RunCollection.html">RunCollection</a></div>
      <div class="level3"><a class="xref" href="GrapeCity.Documents.Word.ShapeCollection.html">ShapeCollection</a></div>
      <div class="level3"><a class="xref" href="GrapeCity.Documents.Word.SimpleFieldCollection.html">SimpleFieldCollection</a></div>
      <div class="level3"><a class="xref" href="GrapeCity.Documents.Word.TableCollection.html">TableCollection</a></div>
      <div class="level3"><a class="xref" href="GrapeCity.Documents.Word.TextCollection.html">TextCollection</a></div>
      <div class="level3"><a class="xref" href="GrapeCity.Documents.Word.TextFrameCollection.html">TextFrameCollection</a></div>
      <div class="level3"><a class="xref" href="GrapeCity.Documents.Word.UnknownContentCollection.html">UnknownContentCollection</a></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="GrapeCity.Documents.Word.IContentList-1.html">IContentList</a>&lt;T&gt;</div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.ireadonlylist-1">IReadOnlyList</a>&lt;T&gt;</div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.ireadonlycollection-1">IReadOnlyCollection</a>&lt;T&gt;</div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.ienumerable-1">IEnumerable</a>&lt;T&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_ContentObjectCollection_1_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class ContentObjectCollection&lt;T&gt; : ContentCollection&lt;T&gt;, IContentList&lt;T&gt;, IReadOnlyList&lt;T&gt;, IReadOnlyCollection&lt;T&gt;, IEnumerable&lt;T&gt;, IEnumerable where T : ContentObject</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class ContentObjectCollection(Of T As ContentObject)
    Inherits ContentCollection(Of T)
    Implements IContentList(Of T), IReadOnlyList(Of T), IReadOnlyCollection(Of T), IEnumerable(Of T), IEnumerable</code></pre>
  </div>
  <h5 class="typeParameters">Type Parameters</h5>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="parametername">T</span></td>
        <td><p>The type of items in the collection.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="implements">Implements</h3>
  <div>
      <a class="xref" href="GrapeCity.Documents.Word.IContentList-1.html">IContentList&lt;T&gt;</a>
  </div>
  <div>
      <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.ireadonlylist-1">IReadOnlyList&lt;T&gt;</a>
  </div>
  <div>
      <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.ireadonlycollection-1">IReadOnlyCollection&lt;T&gt;</a>
  </div>
  <div>
      <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.ienumerable-1">IEnumerable&lt;T&gt;</a>
  </div>
  <div>
      <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.ienumerable">IEnumerable</a>
  </div>

</div>
