# C1.DataConnector.C1DbParameterCollection

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_DataConnector_C1DbParameterCollection" data-uid="C1.DataConnector.C1DbParameterCollection" class="text-break">C1DbParameterCollection Class
</h1>
  <div class="markdown level0 summary"><p>A collection containing the C1DbParameters</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.marshalbyrefobject">MarshalByRefObject</a></div>
    <div class="level2"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.data.common.dbparametercollection">DbParameterCollection</a></div>
    <div class="level3"><span class="xref">C1DbParameterCollection</span></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.data.idataparametercollection">IDataParameterCollection</a></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.DataConnector.html">C1.DataConnector</a></h6>
  <h6><strong>Assembly</strong>: C1.DataConnector.dll</h6>
  <h5 id="C1_DataConnector_C1DbParameterCollection_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class C1DbParameterCollection : DbParameterCollection, IDataParameterCollection, IList, ICollection, IEnumerable</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class C1DbParameterCollection
    Inherits DbParameterCollection
    Implements IDataParameterCollection, 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_DataConnector_C1DbParameterCollection__ctor" data-uid="C1.DataConnector.C1DbParameterCollection.#ctor">
          <a class="xref" href="C1.DataConnector.C1DbParameterCollection.-ctor.html#C1_DataConnector_C1DbParameterCollection__ctor">C1DbParameterCollection()</a>
        </td>
        <td class="markdown level1 summary"><p><a class="xref" href="C1.DataConnector.C1DbParameterCollection.html">C1DbParameterCollection</a> constructor.</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="C1_DataConnector_C1DbParameterCollection_Count" data-uid="C1.DataConnector.C1DbParameterCollection.Count">
          <a class="xref" href="C1.DataConnector.C1DbParameterCollection.Count.html#C1_DataConnector_C1DbParameterCollection_Count">Count</a>
        </td>
        <td class="markdown level1 summary"><p>Specifies the number of items in the collection.</p>
</td>
      </tr>
      <tr>
        <td id="C1_DataConnector_C1DbParameterCollection_Item_System_Int32_" data-uid="C1.DataConnector.C1DbParameterCollection.Item(System.Int32)">
          <a class="xref" href="C1.DataConnector.C1DbParameterCollection.Item.html#C1_DataConnector_C1DbParameterCollection_Item_System_Int32_">this[int]</a>
        </td>
        <td class="markdown level1 summary"><p>Gets and sets the DbParameter at the specified index.</p>
</td>
      </tr>
      <tr>
        <td id="C1_DataConnector_C1DbParameterCollection_Item_System_String_" data-uid="C1.DataConnector.C1DbParameterCollection.Item(System.String)">
          <a class="xref" href="C1.DataConnector.C1DbParameterCollection.Item.html#C1_DataConnector_C1DbParameterCollection_Item_System_String_">this[string]</a>
        </td>
        <td class="markdown level1 summary"><p>Gets and sets the DbParameter with the specified name.</p>
</td>
      </tr>
      <tr>
        <td id="C1_DataConnector_C1DbParameterCollection_SyncRoot" data-uid="C1.DataConnector.C1DbParameterCollection.SyncRoot">
          <a class="xref" href="C1.DataConnector.C1DbParameterCollection.SyncRoot.html#C1_DataConnector_C1DbParameterCollection_SyncRoot">SyncRoot</a>
        </td>
        <td class="markdown level1 summary"><p>Specifies the Object to be used to synchronize access to the 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_DataConnector_C1DbParameterCollection_Add_System_Object_" data-uid="C1.DataConnector.C1DbParameterCollection.Add(System.Object)">
          <a class="xref" href="C1.DataConnector.C1DbParameterCollection.Add.html#C1_DataConnector_C1DbParameterCollection_Add_System_Object_">Add(object)</a>
        </td>
        <td class="markdown level1 summary"><p>Adds the specified DbParameter object to the parameter collection.</p>
</td>
      </tr>
      <tr>
        <td id="C1_DataConnector_C1DbParameterCollection_Add_System_String_System_Data_DbType_System_String_" data-uid="C1.DataConnector.C1DbParameterCollection.Add(System.String,System.Data.DbType,System.String)">
          <a class="xref" href="C1.DataConnector.C1DbParameterCollection.Add.html#C1_DataConnector_C1DbParameterCollection_Add_System_String_System_Data_DbType_System_String_">Add(string, DbType, string)</a>
        </td>
        <td class="markdown level1 summary"><p>Adds a DbParameter object to the parameter collection.</p>
</td>
      </tr>
      <tr>
        <td id="C1_DataConnector_C1DbParameterCollection_Add_System_String_System_String_" data-uid="C1.DataConnector.C1DbParameterCollection.Add(System.String,System.String)">
          <a class="xref" href="C1.DataConnector.C1DbParameterCollection.Add.html#C1_DataConnector_C1DbParameterCollection_Add_System_String_System_String_">Add(string, string)</a>
        </td>
        <td class="markdown level1 summary"><p>Adds a DbParameter object to the parameter collection.</p>
</td>
      </tr>
      <tr>
        <td id="C1_DataConnector_C1DbParameterCollection_AddRange_System_Array_" data-uid="C1.DataConnector.C1DbParameterCollection.AddRange(System.Array)">
          <a class="xref" href="C1.DataConnector.C1DbParameterCollection.AddRange.html#C1_DataConnector_C1DbParameterCollection_AddRange_System_Array_">AddRange(Array)</a>
        </td>
        <td class="markdown level1 summary"><p>Adds an array of items with the specified values to the parameter collection.</p>
</td>
      </tr>
      <tr>
        <td id="C1_DataConnector_C1DbParameterCollection_AddWithValue_System_String_System_Object_" data-uid="C1.DataConnector.C1DbParameterCollection.AddWithValue(System.String,System.Object)">
          <a class="xref" href="C1.DataConnector.C1DbParameterCollection.AddWithValue.html#C1_DataConnector_C1DbParameterCollection_AddWithValue_System_String_System_Object_">AddWithValue(string, object)</a>
        </td>
        <td class="markdown level1 summary"><p>Adds a DbParameter object to the parameter collection.</p>
</td>
      </tr>
      <tr>
        <td id="C1_DataConnector_C1DbParameterCollection_Clear" data-uid="C1.DataConnector.C1DbParameterCollection.Clear">
          <a class="xref" href="C1.DataConnector.C1DbParameterCollection.Clear.html#C1_DataConnector_C1DbParameterCollection_Clear">Clear()</a>
        </td>
        <td class="markdown level1 summary"><p>Removes all parameter values from the parameter collection.</p>
</td>
      </tr>
      <tr>
        <td id="C1_DataConnector_C1DbParameterCollection_Clone" data-uid="C1.DataConnector.C1DbParameterCollection.Clone">
          <a class="xref" href="C1.DataConnector.C1DbParameterCollection.Clone.html#C1_DataConnector_C1DbParameterCollection_Clone">Clone()</a>
        </td>
        <td class="markdown level1 summary"><p>Create a copy of the current instance of <a class="xref" href="C1.DataConnector.C1DbParameterCollection.html">C1DbParameterCollection</a>.</p>
</td>
      </tr>
      <tr>
        <td id="C1_DataConnector_C1DbParameterCollection_Contains_System_Object_" data-uid="C1.DataConnector.C1DbParameterCollection.Contains(System.Object)">
          <a class="xref" href="C1.DataConnector.C1DbParameterCollection.Contains.html#C1_DataConnector_C1DbParameterCollection_Contains_System_Object_">Contains(object)</a>
        </td>
        <td class="markdown level1 summary"><p>Indicates whether a DbParameter with the specified Value is contained in the collection.</p>
</td>
      </tr>
      <tr>
        <td id="C1_DataConnector_C1DbParameterCollection_Contains_System_String_" data-uid="C1.DataConnector.C1DbParameterCollection.Contains(System.String)">
          <a class="xref" href="C1.DataConnector.C1DbParameterCollection.Contains.html#C1_DataConnector_C1DbParameterCollection_Contains_System_String_">Contains(string)</a>
        </td>
        <td class="markdown level1 summary"><p>Indicates whether a DbParameter with the specified name exists in the collection.</p>
</td>
      </tr>
      <tr>
        <td id="C1_DataConnector_C1DbParameterCollection_CopyTo_System_Array_System_Int32_" data-uid="C1.DataConnector.C1DbParameterCollection.CopyTo(System.Array,System.Int32)">
          <a class="xref" href="C1.DataConnector.C1DbParameterCollection.CopyTo.html#C1_DataConnector_C1DbParameterCollection_CopyTo_System_Array_System_Int32_">CopyTo(Array, int)</a>
        </td>
        <td class="markdown level1 summary"><p>Copies an array of items to the collection starting at the specified index.</p>
</td>
      </tr>
      <tr>
        <td id="C1_DataConnector_C1DbParameterCollection_GetEnumerator" data-uid="C1.DataConnector.C1DbParameterCollection.GetEnumerator">
          <a class="xref" href="C1.DataConnector.C1DbParameterCollection.GetEnumerator.html#C1_DataConnector_C1DbParameterCollection_GetEnumerator">GetEnumerator()</a>
        </td>
        <td class="markdown level1 summary"><p>Gets a simple iteration over a collection.</p>
</td>
      </tr>
      <tr>
        <td id="C1_DataConnector_C1DbParameterCollection_GetParameter_System_Int32_" data-uid="C1.DataConnector.C1DbParameterCollection.GetParameter(System.Int32)">
          <a class="xref" href="C1.DataConnector.C1DbParameterCollection.GetParameter.html#C1_DataConnector_C1DbParameterCollection_GetParameter_System_Int32_">GetParameter(int)</a>
        </td>
        <td class="markdown level1 summary"><p>Returns the DbParameter object at the specified index in the collection.</p>
</td>
      </tr>
      <tr>
        <td id="C1_DataConnector_C1DbParameterCollection_GetParameter_System_String_" data-uid="C1.DataConnector.C1DbParameterCollection.GetParameter(System.String)">
          <a class="xref" href="C1.DataConnector.C1DbParameterCollection.GetParameter.html#C1_DataConnector_C1DbParameterCollection_GetParameter_System_String_">GetParameter(string)</a>
        </td>
        <td class="markdown level1 summary"><p>Returns DbParameter the object with the specified name.</p>
</td>
      </tr>
      <tr>
        <td id="C1_DataConnector_C1DbParameterCollection_IndexOf_System_Object_" data-uid="C1.DataConnector.C1DbParameterCollection.IndexOf(System.Object)">
          <a class="xref" href="C1.DataConnector.C1DbParameterCollection.IndexOf.html#C1_DataConnector_C1DbParameterCollection_IndexOf_System_Object_">IndexOf(object)</a>
        </td>
        <td class="markdown level1 summary"><p>Returns the index of the specified DbParameter object.</p>
</td>
      </tr>
      <tr>
        <td id="C1_DataConnector_C1DbParameterCollection_IndexOf_System_String_" data-uid="C1.DataConnector.C1DbParameterCollection.IndexOf(System.String)">
          <a class="xref" href="C1.DataConnector.C1DbParameterCollection.IndexOf.html#C1_DataConnector_C1DbParameterCollection_IndexOf_System_String_">IndexOf(string)</a>
        </td>
        <td class="markdown level1 summary"><p>Returns the index of the DbParameter object with the specified name.</p>
</td>
      </tr>
      <tr>
        <td id="C1_DataConnector_C1DbParameterCollection_Insert_System_Int32_System_Object_" data-uid="C1.DataConnector.C1DbParameterCollection.Insert(System.Int32,System.Object)">
          <a class="xref" href="C1.DataConnector.C1DbParameterCollection.Insert.html#C1_DataConnector_C1DbParameterCollection_Insert_System_Int32_System_Object_">Insert(int, object)</a>
        </td>
        <td class="markdown level1 summary"><p>Inserts the specified index of the DbParameter object with the specified name into the collection at the specified index.</p>
</td>
      </tr>
      <tr>
        <td id="C1_DataConnector_C1DbParameterCollection_Remove_System_Object_" data-uid="C1.DataConnector.C1DbParameterCollection.Remove(System.Object)">
          <a class="xref" href="C1.DataConnector.C1DbParameterCollection.Remove.html#C1_DataConnector_C1DbParameterCollection_Remove_System_Object_">Remove(object)</a>
        </td>
        <td class="markdown level1 summary"><p>Removes the specified DbParameter object from the collection.</p>
</td>
      </tr>
      <tr>
        <td id="C1_DataConnector_C1DbParameterCollection_RemoveAt_System_Int32_" data-uid="C1.DataConnector.C1DbParameterCollection.RemoveAt(System.Int32)">
          <a class="xref" href="C1.DataConnector.C1DbParameterCollection.RemoveAt.html#C1_DataConnector_C1DbParameterCollection_RemoveAt_System_Int32_">RemoveAt(int)</a>
        </td>
        <td class="markdown level1 summary"><p>Removes the DbParameter object at the specified from the collection.</p>
</td>
      </tr>
      <tr>
        <td id="C1_DataConnector_C1DbParameterCollection_RemoveAt_System_String_" data-uid="C1.DataConnector.C1DbParameterCollection.RemoveAt(System.String)">
          <a class="xref" href="C1.DataConnector.C1DbParameterCollection.RemoveAt.html#C1_DataConnector_C1DbParameterCollection_RemoveAt_System_String_">RemoveAt(string)</a>
        </td>
        <td class="markdown level1 summary"><p>Removes the DbParameter object with the specified name from the collection.</p>
</td>
      </tr>
      <tr>
        <td id="C1_DataConnector_C1DbParameterCollection_SetParameter_System_Int32_System_Data_Common_DbParameter_" data-uid="C1.DataConnector.C1DbParameterCollection.SetParameter(System.Int32,System.Data.Common.DbParameter)">
          <a class="xref" href="C1.DataConnector.C1DbParameterCollection.SetParameter.html#C1_DataConnector_C1DbParameterCollection_SetParameter_System_Int32_System_Data_Common_DbParameter_">SetParameter(int, DbParameter)</a>
        </td>
        <td class="markdown level1 summary"><p>Sets the DbParameter object at the specified index to a new value.</p>
</td>
      </tr>
      <tr>
        <td id="C1_DataConnector_C1DbParameterCollection_SetParameter_System_String_System_Data_Common_DbParameter_" data-uid="C1.DataConnector.C1DbParameterCollection.SetParameter(System.String,System.Data.Common.DbParameter)">
          <a class="xref" href="C1.DataConnector.C1DbParameterCollection.SetParameter.html#C1_DataConnector_C1DbParameterCollection_SetParameter_System_String_System_Data_Common_DbParameter_">SetParameter(string, DbParameter)</a>
        </td>
        <td class="markdown level1 summary"><p>Sets the DbParameter object with the specified name to a new value.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
