# C1.Report.ReportObjectCollection-1

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Report_ReportObjectCollection_1" data-uid="C1.Report.ReportObjectCollection`1" class="text-break">ReportObjectCollection&lt;TItem&gt; Class
</h1>
  <div class="markdown level0 summary"><p>Represents the collection of the <a class="xref" href="C1.Report.ReportObject.html">ReportObject</a> objects.</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">ReportObjectCollection&lt;TItem&gt;</span></div>
      <div class="level2"><a class="xref" href="C1.Report.FieldCollection.html">FieldCollection</a></div>
      <div class="level2"><a class="xref" href="C1.Report.ReportObjectList-1.html">ReportObjectList&lt;TItem&gt;</a></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.icollection-1">ICollection</a>&lt;TItem&gt;</div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.ienumerable-1">IEnumerable</a>&lt;TItem&gt;</div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.ilist">IList</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.icollection">ICollection</a></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="C1.Report.html">C1.Report</a></h6>
  <h6><strong>Assembly</strong>: C1.Report.dll</h6>
  <h5 id="C1_Report_ReportObjectCollection_1_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public abstract class ReportObjectCollection&lt;TItem&gt; : ICollection&lt;TItem&gt;, IEnumerable&lt;TItem&gt;, IList, ICollection, IEnumerable where TItem : ReportObject</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public MustInherit Class ReportObjectCollection(Of TItem As ReportObject)
    Implements ICollection(Of TItem), IEnumerable(Of TItem), IList, ICollection, 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">TItem</span></td>
        <td><p>The type of elements in the collection.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="constructors">Constructors
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_Report_ReportObjectCollection_1__ctor" data-uid="C1.Report.ReportObjectCollection`1.#ctor">
          <a class="xref" href="C1.Report.ReportObjectCollection-1.-ctor.html#C1_Report_ReportObjectCollection_1__ctor">ReportObjectCollection()</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
    </tbody>
  </table>
  <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_Report_ReportObjectCollection_1_Count" data-uid="C1.Report.ReportObjectCollection`1.Count">
          <a class="xref" href="C1.Report.ReportObjectCollection-1.Count.html#C1_Report_ReportObjectCollection_1_Count">Count</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the number of elements in the collection.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Report_ReportObjectCollection_1_Item_System_Int32_" data-uid="C1.Report.ReportObjectCollection`1.Item(System.Int32)">
          <a class="xref" href="C1.Report.ReportObjectCollection-1.Item.html#C1_Report_ReportObjectCollection_1_Item_System_Int32_">this[int]</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the element at the specified index.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Report_ReportObjectCollection_1_Item_System_String_" data-uid="C1.Report.ReportObjectCollection`1.Item(System.String)">
          <a class="xref" href="C1.Report.ReportObjectCollection-1.Item.html#C1_Report_ReportObjectCollection_1_Item_System_String_">this[string]</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the element with specified name.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Report_ReportObjectCollection_1_Report" data-uid="C1.Report.ReportObjectCollection`1.Report">
          <a class="xref" href="C1.Report.ReportObjectCollection-1.Report.html#C1_Report_ReportObjectCollection_1_Report">Report</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the <a class="xref" href="C1.Report.FlexReport.html">FlexReport</a> object owning this 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_Report_ReportObjectCollection_1_Contains_System_String_" data-uid="C1.Report.ReportObjectCollection`1.Contains(System.String)">
          <a class="xref" href="C1.Report.ReportObjectCollection-1.Contains.html#C1_Report_ReportObjectCollection_1_Contains_System_String_">Contains(string)</a>
        </td>
        <td class="markdown level1 summary"><p>Determines whether the collection contains an item with specified name.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Report_ReportObjectCollection_1_Contains__0_" data-uid="C1.Report.ReportObjectCollection`1.Contains(`0)">
          <a class="xref" href="C1.Report.ReportObjectCollection-1.Contains.html#C1_Report_ReportObjectCollection_1_Contains__0_">Contains(TItem)</a>
        </td>
        <td class="markdown level1 summary"><p>Determines whether the collection contains a specific item.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Report_ReportObjectCollection_1_CopyTo__0___System_Int32_" data-uid="C1.Report.ReportObjectCollection`1.CopyTo(`0[],System.Int32)">
          <a class="xref" href="C1.Report.ReportObjectCollection-1.CopyTo.html#C1_Report_ReportObjectCollection_1_CopyTo__0___System_Int32_">CopyTo(TItem[], int)</a>
        </td>
        <td class="markdown level1 summary"><p>Copies the elements of the collection to an <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.array">Array</a>, starting at a particular array index.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Report_ReportObjectCollection_1_FindByName_System_String_" data-uid="C1.Report.ReportObjectCollection`1.FindByName(System.String)">
          <a class="xref" href="C1.Report.ReportObjectCollection-1.FindByName.html#C1_Report_ReportObjectCollection_1_FindByName_System_String_">FindByName(string)</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the item by its name, returns null if not found.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Report_ReportObjectCollection_1_IndexByName_System_String_" data-uid="C1.Report.ReportObjectCollection`1.IndexByName(System.String)">
          <a class="xref" href="C1.Report.ReportObjectCollection-1.IndexByName.html#C1_Report_ReportObjectCollection_1_IndexByName_System_String_">IndexByName(string)</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the index of the element by its name.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Report_ReportObjectCollection_1_IndexOf__0_" data-uid="C1.Report.ReportObjectCollection`1.IndexOf(`0)">
          <a class="xref" href="C1.Report.ReportObjectCollection-1.IndexOf.html#C1_Report_ReportObjectCollection_1_IndexOf__0_">IndexOf(TItem)</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the index of the element.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Report_ReportObjectCollection_1_Move_System_Int32_System_Int32_" data-uid="C1.Report.ReportObjectCollection`1.Move(System.Int32,System.Int32)">
          <a class="xref" href="C1.Report.ReportObjectCollection-1.Move.html#C1_Report_ReportObjectCollection_1_Move_System_Int32_System_Int32_">Move(int, int)</a>
        </td>
        <td class="markdown level1 summary"><p>Moves the item with the specified <code class="paramref">index</code> to a new new position specified by <code class="paramref">newIndex</code>.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
