# C1.Report.ReportOwnedCollection-1

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Report_ReportOwnedCollection_1" data-uid="C1.Report.ReportOwnedCollection`1" class="text-break">ReportOwnedCollection&lt;TItem&gt; Class
</h1>
  <div class="markdown level0 summary"><p>Represents a <span class="xref">C1.Document.OwnedCollection&lt;TItem&gt;</span> that notifies <a class="xref" href="C1.Report.FlexReport.html">FlexReport</a> about changes.</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="https://learn.microsoft.com/dotnet/api/system.collections.objectmodel.collection-1">Collection</a>&lt;TItem&gt;</div>
    <div class="level2"><span class="xref">OwnedCollectionBase</span>&lt;TItem&gt;</div>
    <div class="level3"><span class="xref">OwnedCollection</span>&lt;TItem&gt;</div>
    <div class="level4"><span class="xref">ReportOwnedCollection&lt;TItem&gt;</span></div>
      <div class="level5"><a class="xref" href="C1.Report.ReportLabeledValues.html">ReportLabeledValues</a></div>
      <div class="level5"><a class="xref" href="C1.Report.SortDefinitionCollection.html">SortDefinitionCollection</a></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.ilist-1">IList</a>&lt;TItem&gt;</div>
    <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.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.generic.ireadonlylist-1">IReadOnlyList</a>&lt;TItem&gt;</div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.ireadonlycollection-1">IReadOnlyCollection</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.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_ReportOwnedCollection_1_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public abstract class ReportOwnedCollection&lt;TItem&gt; : OwnedCollection&lt;TItem&gt;, IList&lt;TItem&gt;, ICollection&lt;TItem&gt;, IList, ICollection, IReadOnlyList&lt;TItem&gt;, IReadOnlyCollection&lt;TItem&gt;, IEnumerable&lt;TItem&gt;, IEnumerable where TItem : IOwnedObject, ICloneableObject</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public MustInherit Class ReportOwnedCollection(Of TItem As {IOwnedObject, ICloneableObject})
    Inherits OwnedCollection(Of TItem)
    Implements IList(Of TItem), ICollection(Of TItem), IList, ICollection, IReadOnlyList(Of TItem), IReadOnlyCollection(Of TItem), IEnumerable(Of TItem), 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 the collection items.</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_ReportOwnedCollection_1__ctor" data-uid="C1.Report.ReportOwnedCollection`1.#ctor">
          <a class="xref" href="C1.Report.ReportOwnedCollection-1.-ctor.html#C1_Report_ReportOwnedCollection_1__ctor">ReportOwnedCollection()</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_ReportOwnedCollection_1_Report" data-uid="C1.Report.ReportOwnedCollection`1.Report">
          <a class="xref" href="C1.Report.ReportOwnedCollection-1.Report.html#C1_Report_ReportOwnedCollection_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_ReportOwnedCollection_1_AssignFrom_C1_Document_OwnedCollection__0__" data-uid="C1.Report.ReportOwnedCollection`1.AssignFrom(C1.Document.OwnedCollection{`0})">
          <a class="xref" href="C1.Report.ReportOwnedCollection-1.AssignFrom.html#C1_Report_ReportOwnedCollection_1_AssignFrom_C1_Document_OwnedCollection__0__">AssignFrom(OwnedCollection&lt;TItem&gt;)</a>
        </td>
        <td class="markdown level1 summary"><p>Copies all from another object.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Report_ReportOwnedCollection_1_ClearItems" data-uid="C1.Report.ReportOwnedCollection`1.ClearItems">
          <a class="xref" href="C1.Report.ReportOwnedCollection-1.ClearItems.html#C1_Report_ReportOwnedCollection_1_ClearItems">ClearItems()</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_Report_ReportOwnedCollection_1_InsertItem_System_Int32__0_" data-uid="C1.Report.ReportOwnedCollection`1.InsertItem(System.Int32,`0)">
          <a class="xref" href="C1.Report.ReportOwnedCollection-1.InsertItem.html#C1_Report_ReportOwnedCollection_1_InsertItem_System_Int32__0_">InsertItem(int, TItem)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_Report_ReportOwnedCollection_1_RemoveItem_System_Int32_" data-uid="C1.Report.ReportOwnedCollection`1.RemoveItem(System.Int32)">
          <a class="xref" href="C1.Report.ReportOwnedCollection-1.RemoveItem.html#C1_Report_ReportOwnedCollection_1_RemoveItem_System_Int32_">RemoveItem(int)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_Report_ReportOwnedCollection_1_SetItem_System_Int32__0_" data-uid="C1.Report.ReportOwnedCollection`1.SetItem(System.Int32,`0)">
          <a class="xref" href="C1.Report.ReportOwnedCollection-1.SetItem.html#C1_Report_ReportOwnedCollection_1_SetItem_System_Int32__0_">SetItem(int, TItem)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
    </tbody>
  </table>

</div>
