# C1.Report.FieldCollection

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Report_FieldCollection" data-uid="C1.Report.FieldCollection" class="text-break">FieldCollection Class
</h1>
  <div class="markdown level0 summary"><p>Represents the collection of the <a class="xref" href="C1.Report.FieldBase.html">FieldBase</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"><a class="xref" href="C1.Report.ReportObjectCollection-1.html">ReportObjectCollection</a>&lt;<a class="xref" href="C1.Report.FieldBase.html">FieldBase</a>&gt;</div>
    <div class="level2"><span class="xref">FieldCollection</span></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;<a class="xref" href="C1.Report.FieldBase.html">FieldBase</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="C1.Report.FieldBase.html">FieldBase</a>&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_FieldCollection_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public abstract class FieldCollection : ReportObjectCollection&lt;FieldBase&gt;, ICollection&lt;FieldBase&gt;, IEnumerable&lt;FieldBase&gt;, IList, ICollection, IEnumerable</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public MustInherit Class FieldCollection
    Inherits ReportObjectCollection(Of FieldBase)
    Implements ICollection(Of FieldBase), IEnumerable(Of FieldBase), IList, ICollection, IEnumerable</code></pre>
  </div>
  <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_FieldCollection__ctor" data-uid="C1.Report.FieldCollection.#ctor">
          <a class="xref" href="C1.Report.FieldCollection.-ctor.html#C1_Report_FieldCollection__ctor">FieldCollection()</a>
        </td>
        <td class="markdown level1 summary"></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_FieldCollection_Add_C1_Report_FieldBase_" data-uid="C1.Report.FieldCollection.Add(C1.Report.FieldBase)">
          <a class="xref" href="C1.Report.FieldCollection.Add.html#C1_Report_FieldCollection_Add_C1_Report_FieldBase_">Add(FieldBase)</a>
        </td>
        <td class="markdown level1 summary"><p>Adds a field or a clone of a field to the collection.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Report_FieldCollection_Add_System_String_System_String_C1_Interop_Rect_" data-uid="C1.Report.FieldCollection.Add(System.String,System.String,C1.Interop.Rect)">
          <a class="xref" href="C1.Report.FieldCollection.Add.html#C1_Report_FieldCollection_Add_System_String_System_String_C1_Interop_Rect_">Add(string, string, Rect)</a>
        </td>
        <td class="markdown level1 summary"><p>Adds a <a class="xref" href="C1.Report.Field.html">Field</a> to the collection.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Report_FieldCollection_Add_System_String_System_String_System_Double_System_Double_System_Double_System_Double_" data-uid="C1.Report.FieldCollection.Add(System.String,System.String,System.Double,System.Double,System.Double,System.Double)">
          <a class="xref" href="C1.Report.FieldCollection.Add.html#C1_Report_FieldCollection_Add_System_String_System_String_System_Double_System_Double_System_Double_System_Double_">Add(string, string, double, double, double, double)</a>
        </td>
        <td class="markdown level1 summary"><p>Adds a <a class="xref" href="C1.Report.Field.html">Field</a> to the collection. This overload adds a legacy field type and is deprecated.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Report_FieldCollection_Remove_C1_Report_FieldBase_" data-uid="C1.Report.FieldCollection.Remove(C1.Report.FieldBase)">
          <a class="xref" href="C1.Report.FieldCollection.Remove.html#C1_Report_FieldCollection_Remove_C1_Report_FieldBase_">Remove(FieldBase)</a>
        </td>
        <td class="markdown level1 summary"><p>Removes a field from the collection.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Report_FieldCollection_Remove_System_Int32_" data-uid="C1.Report.FieldCollection.Remove(System.Int32)">
          <a class="xref" href="C1.Report.FieldCollection.Remove.html#C1_Report_FieldCollection_Remove_System_Int32_">Remove(int)</a>
        </td>
        <td class="markdown level1 summary"><p>Removes a field from the collection.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Report_FieldCollection_Remove_System_String_" data-uid="C1.Report.FieldCollection.Remove(System.String)">
          <a class="xref" href="C1.Report.FieldCollection.Remove.html#C1_Report_FieldCollection_Remove_System_String_">Remove(string)</a>
        </td>
        <td class="markdown level1 summary"><p>Removes a field from the collection.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Report_FieldCollection_RemoveAt_System_Int32_" data-uid="C1.Report.FieldCollection.RemoveAt(System.Int32)">
          <a class="xref" href="C1.Report.FieldCollection.RemoveAt.html#C1_Report_FieldCollection_RemoveAt_System_Int32_">RemoveAt(int)</a>
        </td>
        <td class="markdown level1 summary"><p>Removes a field from the collection.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
