# GrapeCity.ActiveReports.Data.FieldCollection

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="GrapeCity_ActiveReports_Data_FieldCollection" data-uid="GrapeCity.ActiveReports.Data.FieldCollection" class="text-break">FieldCollection Class
</h1>
  <div class="markdown level0 summary"><p>Summary description for FieldCollection.</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.collectionbase">CollectionBase</a></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.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><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.idisposable">IDisposable</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="GrapeCity.ActiveReports.Data.html">GrapeCity.ActiveReports.Data</a></h6>
  <h6><strong>Assembly</strong>: MESCIUS.ActiveReports.dll</h6>
  <h5 id="GrapeCity_ActiveReports_Data_FieldCollection_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class FieldCollection : CollectionBase, IList, ICollection, IEnumerable, IDisposable</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="GrapeCity_ActiveReports_Data_FieldCollection__ctor_System_ComponentModel_IComponent_" data-uid="GrapeCity.ActiveReports.Data.FieldCollection.#ctor(System.ComponentModel.IComponent)">
          <a class="xref" href="GrapeCity.ActiveReports.Data.FieldCollection.-ctor.html#GrapeCity_ActiveReports_Data_FieldCollection__ctor_System_ComponentModel_IComponent_">FieldCollection(IComponent)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="GrapeCity.ActiveReports.Data.FieldCollection.html">FieldCollection</a> class.</p>
</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="GrapeCity_ActiveReports_Data_FieldCollection_Item_System_Int32_" data-uid="GrapeCity.ActiveReports.Data.FieldCollection.Item(System.Int32)">
          <a class="xref" href="GrapeCity.ActiveReports.Data.FieldCollection.Item.html#GrapeCity_ActiveReports_Data_FieldCollection_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="GrapeCity_ActiveReports_Data_FieldCollection_Item_System_String_" data-uid="GrapeCity.ActiveReports.Data.FieldCollection.Item(System.String)">
          <a class="xref" href="GrapeCity.ActiveReports.Data.FieldCollection.Item.html#GrapeCity_ActiveReports_Data_FieldCollection_Item_System_String_">this[string]</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the <a class="xref" href="GrapeCity.ActiveReports.Data.Field.html">Field</a> with the specified field name.</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="GrapeCity_ActiveReports_Data_FieldCollection_Add_GrapeCity_ActiveReports_Data_Field_" data-uid="GrapeCity.ActiveReports.Data.FieldCollection.Add(GrapeCity.ActiveReports.Data.Field)">
          <a class="xref" href="GrapeCity.ActiveReports.Data.FieldCollection.Add.html#GrapeCity_ActiveReports_Data_FieldCollection_Add_GrapeCity_ActiveReports_Data_Field_">Add(Field)</a>
        </td>
        <td class="markdown level1 summary"><p>Adds the specified field to the collection.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Data_FieldCollection_Add_System_String_" data-uid="GrapeCity.ActiveReports.Data.FieldCollection.Add(System.String)">
          <a class="xref" href="GrapeCity.ActiveReports.Data.FieldCollection.Add.html#GrapeCity_ActiveReports_Data_FieldCollection_Add_System_String_">Add(string)</a>
        </td>
        <td class="markdown level1 summary"><p>Adds a new field to the collection.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Data_FieldCollection_Contains_GrapeCity_ActiveReports_Data_Field_" data-uid="GrapeCity.ActiveReports.Data.FieldCollection.Contains(GrapeCity.ActiveReports.Data.Field)">
          <a class="xref" href="GrapeCity.ActiveReports.Data.FieldCollection.Contains.html#GrapeCity_ActiveReports_Data_FieldCollection_Contains_GrapeCity_ActiveReports_Data_Field_">Contains(Field)</a>
        </td>
        <td class="markdown level1 summary"><p>Returns a value indicating whether the field collection contains the specified field.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Data_FieldCollection_Contains_System_String_" data-uid="GrapeCity.ActiveReports.Data.FieldCollection.Contains(System.String)">
          <a class="xref" href="GrapeCity.ActiveReports.Data.FieldCollection.Contains.html#GrapeCity_ActiveReports_Data_FieldCollection_Contains_System_String_">Contains(string)</a>
        </td>
        <td class="markdown level1 summary"><p>Returns a value indicating whether the field collection contains a field with the specified name.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Data_FieldCollection_CopyTo_GrapeCity_ActiveReports_Data_Field___System_Int32_" data-uid="GrapeCity.ActiveReports.Data.FieldCollection.CopyTo(GrapeCity.ActiveReports.Data.Field[],System.Int32)">
          <a class="xref" href="GrapeCity.ActiveReports.Data.FieldCollection.CopyTo.html#GrapeCity_ActiveReports_Data_FieldCollection_CopyTo_GrapeCity_ActiveReports_Data_Field___System_Int32_">CopyTo(Field[], int)</a>
        </td>
        <td class="markdown level1 summary"><p>Copies fields from the collection to an array, starting at a particular array index.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Data_FieldCollection_Dispose" data-uid="GrapeCity.ActiveReports.Data.FieldCollection.Dispose">
          <a class="xref" href="GrapeCity.ActiveReports.Data.FieldCollection.Dispose.html#GrapeCity_ActiveReports_Data_FieldCollection_Dispose">Dispose()</a>
        </td>
        <td class="markdown level1 summary"><p>Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Data_FieldCollection_Dispose_System_Boolean_" data-uid="GrapeCity.ActiveReports.Data.FieldCollection.Dispose(System.Boolean)">
          <a class="xref" href="GrapeCity.ActiveReports.Data.FieldCollection.Dispose.html#GrapeCity_ActiveReports_Data_FieldCollection_Dispose_System_Boolean_">Dispose(bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Releases unmanaged and - optionally - managed resources.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Data_FieldCollection_IndexOf_GrapeCity_ActiveReports_Data_Field_" data-uid="GrapeCity.ActiveReports.Data.FieldCollection.IndexOf(GrapeCity.ActiveReports.Data.Field)">
          <a class="xref" href="GrapeCity.ActiveReports.Data.FieldCollection.IndexOf.html#GrapeCity_ActiveReports_Data_FieldCollection_IndexOf_GrapeCity_ActiveReports_Data_Field_">IndexOf(Field)</a>
        </td>
        <td class="markdown level1 summary"><p>Finds the index number of the specified field in the collection.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Data_FieldCollection_Insert_System_Int32_GrapeCity_ActiveReports_Data_Field_" data-uid="GrapeCity.ActiveReports.Data.FieldCollection.Insert(System.Int32,GrapeCity.ActiveReports.Data.Field)">
          <a class="xref" href="GrapeCity.ActiveReports.Data.FieldCollection.Insert.html#GrapeCity_ActiveReports_Data_FieldCollection_Insert_System_Int32_GrapeCity_ActiveReports_Data_Field_">Insert(int, Field)</a>
        </td>
        <td class="markdown level1 summary"><p>Inserts an existing field in the fields collection at the specified location.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Data_FieldCollection_OnClearComplete" data-uid="GrapeCity.ActiveReports.Data.FieldCollection.OnClearComplete">
          <a class="xref" href="GrapeCity.ActiveReports.Data.FieldCollection.OnClearComplete.html#GrapeCity_ActiveReports_Data_FieldCollection_OnClearComplete">OnClearComplete()</a>
        </td>
        <td class="markdown level1 summary"><p>Performs additional custom processes after clearing the contents of the <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.collectionbase">CollectionBase</a> instance.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Data_FieldCollection_OnInsertComplete_System_Int32_System_Object_" data-uid="GrapeCity.ActiveReports.Data.FieldCollection.OnInsertComplete(System.Int32,System.Object)">
          <a class="xref" href="GrapeCity.ActiveReports.Data.FieldCollection.OnInsertComplete.html#GrapeCity_ActiveReports_Data_FieldCollection_OnInsertComplete_System_Int32_System_Object_">OnInsertComplete(int, object)</a>
        </td>
        <td class="markdown level1 summary"><p>Performs additional custom processes after inserting a new element into the <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.collectionbase">CollectionBase</a> instance.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Data_FieldCollection_OnRemoveComplete_System_Int32_System_Object_" data-uid="GrapeCity.ActiveReports.Data.FieldCollection.OnRemoveComplete(System.Int32,System.Object)">
          <a class="xref" href="GrapeCity.ActiveReports.Data.FieldCollection.OnRemoveComplete.html#GrapeCity_ActiveReports_Data_FieldCollection_OnRemoveComplete_System_Int32_System_Object_">OnRemoveComplete(int, object)</a>
        </td>
        <td class="markdown level1 summary"><p>Performs additional custom processes after removing an element from the <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.collectionbase">CollectionBase</a> instance.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Data_FieldCollection_OnSetComplete_System_Int32_System_Object_System_Object_" data-uid="GrapeCity.ActiveReports.Data.FieldCollection.OnSetComplete(System.Int32,System.Object,System.Object)">
          <a class="xref" href="GrapeCity.ActiveReports.Data.FieldCollection.OnSetComplete.html#GrapeCity_ActiveReports_Data_FieldCollection_OnSetComplete_System_Int32_System_Object_System_Object_">OnSetComplete(int, object, object)</a>
        </td>
        <td class="markdown level1 summary"><p>Performs additional custom processes after setting a value in the <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.collectionbase">CollectionBase</a> instance.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Data_FieldCollection_Remove_GrapeCity_ActiveReports_Data_Field_" data-uid="GrapeCity.ActiveReports.Data.FieldCollection.Remove(GrapeCity.ActiveReports.Data.Field)">
          <a class="xref" href="GrapeCity.ActiveReports.Data.FieldCollection.Remove.html#GrapeCity_ActiveReports_Data_FieldCollection_Remove_GrapeCity_ActiveReports_Data_Field_">Remove(Field)</a>
        </td>
        <td class="markdown level1 summary"><p>Removes the specified field from the collection.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Data_FieldCollection_Remove_System_Int32_" data-uid="GrapeCity.ActiveReports.Data.FieldCollection.Remove(System.Int32)">
          <a class="xref" href="GrapeCity.ActiveReports.Data.FieldCollection.Remove.html#GrapeCity_ActiveReports_Data_FieldCollection_Remove_System_Int32_">Remove(int)</a>
        </td>
        <td class="markdown level1 summary"><p>Removes a field with the specified index from the collection.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Data_FieldCollection_Remove_System_String_" data-uid="GrapeCity.ActiveReports.Data.FieldCollection.Remove(System.String)">
          <a class="xref" href="GrapeCity.ActiveReports.Data.FieldCollection.Remove.html#GrapeCity_ActiveReports_Data_FieldCollection_Remove_System_String_">Remove(string)</a>
        </td>
        <td class="markdown level1 summary"><p>Removes a field with the specified name from the collection.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="events">Events
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="GrapeCity_ActiveReports_Data_FieldCollection_Cleared" data-uid="GrapeCity.ActiveReports.Data.FieldCollection.Cleared">
          <a class="xref" href="GrapeCity.ActiveReports.Data.FieldCollection.Cleared.html">Cleared</a>
        </td>
        <td class="markdown level1 summary"><p>Occurs when collection is cleared.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Data_FieldCollection_Loaded" data-uid="GrapeCity.ActiveReports.Data.FieldCollection.Loaded">
          <a class="xref" href="GrapeCity.ActiveReports.Data.FieldCollection.Loaded.html">Loaded</a>
        </td>
        <td class="markdown level1 summary"><p>Occurs when collection is loaded.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Data_FieldCollection_Modified" data-uid="GrapeCity.ActiveReports.Data.FieldCollection.Modified">
          <a class="xref" href="GrapeCity.ActiveReports.Data.FieldCollection.Modified.html">Modified</a>
        </td>
        <td class="markdown level1 summary"><p>Occurs when collection is modified.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="extensionmethods">Extension Methods</h3>
  <div>
      <a class="xref" href="GrapeCity.ActiveReports.ReportsCore.Tools.ObjectExtensions.ApplyDefaults.html#GrapeCity_ActiveReports_ReportsCore_Tools_ObjectExtensions_ApplyDefaults__1___0_">ObjectExtensions.ApplyDefaults&lt;TObject&gt;(TObject)</a>
  </div>
  <div>
      <a class="xref" href="GrapeCity.ActiveReports.ReportsCore.Tools.ObjectExtensions.SetValue.html#GrapeCity_ActiveReports_ReportsCore_Tools_ObjectExtensions_SetValue__1___0_System_ComponentModel_PropertyDescriptor_System_String_">ObjectExtensions.SetValue&lt;TObject&gt;(TObject, PropertyDescriptor, string)</a>
  </div>
  <div>
      <a class="xref" href="GrapeCity.ActiveReports.ReportsCore.Tools.ObjectExtensions.ToNameValueCollection.html#GrapeCity_ActiveReports_ReportsCore_Tools_ObjectExtensions_ToNameValueCollection_System_Object_">ObjectExtensions.ToNameValueCollection(object)</a>
  </div>

</div>
