# GrapeCity.ActiveReports.SectionReportModel.ParameterCollection

## Content

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



  <h1 id="GrapeCity_ActiveReports_SectionReportModel_ParameterCollection" data-uid="GrapeCity.ActiveReports.SectionReportModel.ParameterCollection" class="text-break">ParameterCollection Class
</h1>
  <div class="markdown level0 summary"><p>Summary description for ParameterCollection.</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">ParameterCollection</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.SectionReportModel.html">GrapeCity.ActiveReports.SectionReportModel</a></h6>
  <h6><strong>Assembly</strong>: MESCIUS.ActiveReports.dll</h6>
  <h5 id="GrapeCity_ActiveReports_SectionReportModel_ParameterCollection_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class ParameterCollection : 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_SectionReportModel_ParameterCollection__ctor_System_ComponentModel_IComponent_" data-uid="GrapeCity.ActiveReports.SectionReportModel.ParameterCollection.#ctor(System.ComponentModel.IComponent)">
          <a class="xref" href="GrapeCity.ActiveReports.SectionReportModel.ParameterCollection.-ctor.html#GrapeCity_ActiveReports_SectionReportModel_ParameterCollection__ctor_System_ComponentModel_IComponent_">ParameterCollection(IComponent)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="GrapeCity.ActiveReports.SectionReportModel.ParameterCollection.html">ParameterCollection</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_SectionReportModel_ParameterCollection_Item_System_Int32_" data-uid="GrapeCity.ActiveReports.SectionReportModel.ParameterCollection.Item(System.Int32)">
          <a class="xref" href="GrapeCity.ActiveReports.SectionReportModel.ParameterCollection.Item.html#GrapeCity_ActiveReports_SectionReportModel_ParameterCollection_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_SectionReportModel_ParameterCollection_Item_System_String_" data-uid="GrapeCity.ActiveReports.SectionReportModel.ParameterCollection.Item(System.String)">
          <a class="xref" href="GrapeCity.ActiveReports.SectionReportModel.ParameterCollection.Item.html#GrapeCity_ActiveReports_SectionReportModel_ParameterCollection_Item_System_String_">this[string]</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the <a class="xref" href="GrapeCity.ActiveReports.SectionReportModel.Parameter.html">Parameter</a> with the specified key.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_SectionReportModel_ParameterCollection_ParseResult" data-uid="GrapeCity.ActiveReports.SectionReportModel.ParameterCollection.ParseResult">
          <a class="xref" href="GrapeCity.ActiveReports.SectionReportModel.ParameterCollection.ParseResult.html#GrapeCity_ActiveReports_SectionReportModel_ParameterCollection_ParseResult">ParseResult</a>
        </td>
        <td class="markdown level1 summary"><p>Returns the results of parsing the report's parameter values.</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_SectionReportModel_ParameterCollection_Add_GrapeCity_ActiveReports_SectionReportModel_Parameter_" data-uid="GrapeCity.ActiveReports.SectionReportModel.ParameterCollection.Add(GrapeCity.ActiveReports.SectionReportModel.Parameter)">
          <a class="xref" href="GrapeCity.ActiveReports.SectionReportModel.ParameterCollection.Add.html#GrapeCity_ActiveReports_SectionReportModel_ParameterCollection_Add_GrapeCity_ActiveReports_SectionReportModel_Parameter_">Add(Parameter)</a>
        </td>
        <td class="markdown level1 summary"><p>Adds a Parameter object to the Parameter collection.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_SectionReportModel_ParameterCollection_AddRange_GrapeCity_ActiveReports_SectionReportModel_ParameterCollection_" data-uid="GrapeCity.ActiveReports.SectionReportModel.ParameterCollection.AddRange(GrapeCity.ActiveReports.SectionReportModel.ParameterCollection)">
          <a class="xref" href="GrapeCity.ActiveReports.SectionReportModel.ParameterCollection.AddRange.html#GrapeCity_ActiveReports_SectionReportModel_ParameterCollection_AddRange_GrapeCity_ActiveReports_SectionReportModel_ParameterCollection_">AddRange(ParameterCollection)</a>
        </td>
        <td class="markdown level1 summary"><p>Adds a range of Parameter objects to the Parameter collection.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_SectionReportModel_ParameterCollection_AddRange_GrapeCity_ActiveReports_SectionReportModel_Parameter___" data-uid="GrapeCity.ActiveReports.SectionReportModel.ParameterCollection.AddRange(GrapeCity.ActiveReports.SectionReportModel.Parameter[])">
          <a class="xref" href="GrapeCity.ActiveReports.SectionReportModel.ParameterCollection.AddRange.html#GrapeCity_ActiveReports_SectionReportModel_ParameterCollection_AddRange_GrapeCity_ActiveReports_SectionReportModel_Parameter___">AddRange(Parameter[])</a>
        </td>
        <td class="markdown level1 summary"><p>Adds a range of Parameter objects to the Parameter collection.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_SectionReportModel_ParameterCollection_AtLeastOneNeedsPrompt" data-uid="GrapeCity.ActiveReports.SectionReportModel.ParameterCollection.AtLeastOneNeedsPrompt">
          <a class="xref" href="GrapeCity.ActiveReports.SectionReportModel.ParameterCollection.AtLeastOneNeedsPrompt.html#GrapeCity_ActiveReports_SectionReportModel_ParameterCollection_AtLeastOneNeedsPrompt">AtLeastOneNeedsPrompt()</a>
        </td>
        <td class="markdown level1 summary"><p>Determine if prompt is needed.
Goes thru all the parameters and even if one of them has
DontPrompt = false, returns.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_SectionReportModel_ParameterCollection_AtLeastOneQueryCreated" data-uid="GrapeCity.ActiveReports.SectionReportModel.ParameterCollection.AtLeastOneQueryCreated">
          <a class="xref" href="GrapeCity.ActiveReports.SectionReportModel.ParameterCollection.AtLeastOneQueryCreated.html#GrapeCity_ActiveReports_SectionReportModel_ParameterCollection_AtLeastOneQueryCreated">AtLeastOneQueryCreated()</a>
        </td>
        <td class="markdown level1 summary"><p>Determine if prompt is needed.
Goes thru all the parameters and even if one of them has
DontPrompt = false, returns.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_SectionReportModel_ParameterCollection_ClearQueryCreated" data-uid="GrapeCity.ActiveReports.SectionReportModel.ParameterCollection.ClearQueryCreated">
          <a class="xref" href="GrapeCity.ActiveReports.SectionReportModel.ParameterCollection.ClearQueryCreated.html#GrapeCity_ActiveReports_SectionReportModel_ParameterCollection_ClearQueryCreated">ClearQueryCreated()</a>
        </td>
        <td class="markdown level1 summary"><p>For internal use only.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_SectionReportModel_ParameterCollection_Contains_GrapeCity_ActiveReports_SectionReportModel_Parameter_" data-uid="GrapeCity.ActiveReports.SectionReportModel.ParameterCollection.Contains(GrapeCity.ActiveReports.SectionReportModel.Parameter)">
          <a class="xref" href="GrapeCity.ActiveReports.SectionReportModel.ParameterCollection.Contains.html#GrapeCity_ActiveReports_SectionReportModel_ParameterCollection_Contains_GrapeCity_ActiveReports_SectionReportModel_Parameter_">Contains(Parameter)</a>
        </td>
        <td class="markdown level1 summary"><p>Determines whether the collection contains the specified parameter.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_SectionReportModel_ParameterCollection_Dispose" data-uid="GrapeCity.ActiveReports.SectionReportModel.ParameterCollection.Dispose">
          <a class="xref" href="GrapeCity.ActiveReports.SectionReportModel.ParameterCollection.Dispose.html#GrapeCity_ActiveReports_SectionReportModel_ParameterCollection_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_SectionReportModel_ParameterCollection_Dispose_System_Boolean_" data-uid="GrapeCity.ActiveReports.SectionReportModel.ParameterCollection.Dispose(System.Boolean)">
          <a class="xref" href="GrapeCity.ActiveReports.SectionReportModel.ParameterCollection.Dispose.html#GrapeCity_ActiveReports_SectionReportModel_ParameterCollection_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_SectionReportModel_ParameterCollection_IndexOf_GrapeCity_ActiveReports_SectionReportModel_Parameter_" data-uid="GrapeCity.ActiveReports.SectionReportModel.ParameterCollection.IndexOf(GrapeCity.ActiveReports.SectionReportModel.Parameter)">
          <a class="xref" href="GrapeCity.ActiveReports.SectionReportModel.ParameterCollection.IndexOf.html#GrapeCity_ActiveReports_SectionReportModel_ParameterCollection_IndexOf_GrapeCity_ActiveReports_SectionReportModel_Parameter_">IndexOf(Parameter)</a>
        </td>
        <td class="markdown level1 summary"><p>Returns the index of the specified Parameter object in the collection.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_SectionReportModel_ParameterCollection_Insert_System_Int32_GrapeCity_ActiveReports_SectionReportModel_Parameter_" data-uid="GrapeCity.ActiveReports.SectionReportModel.ParameterCollection.Insert(System.Int32,GrapeCity.ActiveReports.SectionReportModel.Parameter)">
          <a class="xref" href="GrapeCity.ActiveReports.SectionReportModel.ParameterCollection.Insert.html#GrapeCity_ActiveReports_SectionReportModel_ParameterCollection_Insert_System_Int32_GrapeCity_ActiveReports_SectionReportModel_Parameter_">Insert(int, Parameter)</a>
        </td>
        <td class="markdown level1 summary"><p>Inserts a Parameter object into the collection at the specified index.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_SectionReportModel_ParameterCollection_OnClearComplete" data-uid="GrapeCity.ActiveReports.SectionReportModel.ParameterCollection.OnClearComplete">
          <a class="xref" href="GrapeCity.ActiveReports.SectionReportModel.ParameterCollection.OnClearComplete.html#GrapeCity_ActiveReports_SectionReportModel_ParameterCollection_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_SectionReportModel_ParameterCollection_OnInsertComplete_System_Int32_System_Object_" data-uid="GrapeCity.ActiveReports.SectionReportModel.ParameterCollection.OnInsertComplete(System.Int32,System.Object)">
          <a class="xref" href="GrapeCity.ActiveReports.SectionReportModel.ParameterCollection.OnInsertComplete.html#GrapeCity_ActiveReports_SectionReportModel_ParameterCollection_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_SectionReportModel_ParameterCollection_OnRemoveComplete_System_Int32_System_Object_" data-uid="GrapeCity.ActiveReports.SectionReportModel.ParameterCollection.OnRemoveComplete(System.Int32,System.Object)">
          <a class="xref" href="GrapeCity.ActiveReports.SectionReportModel.ParameterCollection.OnRemoveComplete.html#GrapeCity_ActiveReports_SectionReportModel_ParameterCollection_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_SectionReportModel_ParameterCollection_Remove_GrapeCity_ActiveReports_SectionReportModel_Parameter_" data-uid="GrapeCity.ActiveReports.SectionReportModel.ParameterCollection.Remove(GrapeCity.ActiveReports.SectionReportModel.Parameter)">
          <a class="xref" href="GrapeCity.ActiveReports.SectionReportModel.ParameterCollection.Remove.html#GrapeCity_ActiveReports_SectionReportModel_ParameterCollection_Remove_GrapeCity_ActiveReports_SectionReportModel_Parameter_">Remove(Parameter)</a>
        </td>
        <td class="markdown level1 summary"><p>Removes a parameter from the collection.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_SectionReportModel_ParameterCollection_SetParameterQueryAsCustom" data-uid="GrapeCity.ActiveReports.SectionReportModel.ParameterCollection.SetParameterQueryAsCustom">
          <a class="xref" href="GrapeCity.ActiveReports.SectionReportModel.ParameterCollection.SetParameterQueryAsCustom.html#GrapeCity_ActiveReports_SectionReportModel_ParameterCollection_SetParameterQueryAsCustom">SetParameterQueryAsCustom()</a>
        </td>
        <td class="markdown level1 summary"><p>Make the query-created parameter use properties of parameter in ReportExplorer.
Notice:If user wants to use this kind of parameter, a prefix 'param:' must be added
into query like &quot;select * from customer where country='&lt;%param:parameter1%&gt;' &quot;</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_SectionReportModel_ParameterCollection_Cleared" data-uid="GrapeCity.ActiveReports.SectionReportModel.ParameterCollection.Cleared">
          <a class="xref" href="GrapeCity.ActiveReports.SectionReportModel.ParameterCollection.Cleared.html">Cleared</a>
        </td>
        <td class="markdown level1 summary"><p>Occurs when Parameter collection is cleared.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_SectionReportModel_ParameterCollection_Loaded" data-uid="GrapeCity.ActiveReports.SectionReportModel.ParameterCollection.Loaded">
          <a class="xref" href="GrapeCity.ActiveReports.SectionReportModel.ParameterCollection.Loaded.html">Loaded</a>
        </td>
        <td class="markdown level1 summary"><p>Occurs when Parameter collection is loaded.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_SectionReportModel_ParameterCollection_Modified" data-uid="GrapeCity.ActiveReports.SectionReportModel.ParameterCollection.Modified">
          <a class="xref" href="GrapeCity.ActiveReports.SectionReportModel.ParameterCollection.Modified.html">Modified</a>
        </td>
        <td class="markdown level1 summary"><p>Occurs when Parameter 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>
