# GrapeCity.Win.Spread.InputMan.CellType.BaseKeyCollection

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="GrapeCity_Win_Spread_InputMan_CellType_BaseKeyCollection" data-uid="GrapeCity.Win.Spread.InputMan.CellType.BaseKeyCollection" class="text-break">BaseKeyCollection Class
</h1>
  <div class="markdown level0 summary"><p>Represents a base collection of key-and-value pairs.</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"><span class="xref">BaseKeyCollection</span></div>
      <div class="level2"><a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.ButtonTextCollection.html">ButtonTextCollection</a></div>
      <div class="level2"><a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.ButtonTextCollectionInfo.html">ButtonTextCollectionInfo</a></div>
      <div class="level2"><a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.CalculatorButtonMappingCollection.html">CalculatorButtonMappingCollection</a></div>
      <div class="level2"><a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.HolidayStyleCollection.html">HolidayStyleCollection</a></div>
      <div class="level2"><a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.StyleCollection.html">StyleCollection</a></div>
      <div class="level2"><a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.SubStyleCollection.html">SubStyleCollection</a></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <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="GrapeCity.Win.Spread.InputMan.CellType.html">GrapeCity.Win.Spread.InputMan.CellType</a></h6>
  <h6><strong>Assembly</strong>: GrapeCity.Win.PluginInputMan.dll</h6>
  <h5 id="GrapeCity_Win_Spread_InputMan_CellType_BaseKeyCollection_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public abstract class BaseKeyCollection : ICollection, IEnumerable</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public MustInherit Class BaseKeyCollection
    Implements ICollection, IEnumerable</code></pre>
  </div>
  <h5 id="GrapeCity_Win_Spread_InputMan_CellType_BaseKeyCollection_remarks"><strong>Remarks</strong></h5>
  <div class="markdown level0 remarks"><p>The <b>BaseKeyCollection</b> class implements the <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.ienumerable">IEnumerable</a> and <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.icollection">ICollection</a> interfaces.</p>
</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_Win_Spread_InputMan_CellType_BaseKeyCollection__ctor" data-uid="GrapeCity.Win.Spread.InputMan.CellType.BaseKeyCollection.#ctor">
          <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.BaseKeyCollection.-ctor.html#GrapeCity_Win_Spread_InputMan_CellType_BaseKeyCollection__ctor">BaseKeyCollection()</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.BaseKeyCollection.html">BaseKeyCollection</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_Win_Spread_InputMan_CellType_BaseKeyCollection_Count" data-uid="GrapeCity.Win.Spread.InputMan.CellType.BaseKeyCollection.Count">
          <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.BaseKeyCollection.Count.html#GrapeCity_Win_Spread_InputMan_CellType_BaseKeyCollection_Count">Count</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the number of key-and-value pairs contained in the <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.BaseKeyCollection.html">BaseKeyCollection</a>.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Win_Spread_InputMan_CellType_BaseKeyCollection_Item_System_Int32_" data-uid="GrapeCity.Win.Spread.InputMan.CellType.BaseKeyCollection.Item(System.Int32)">
          <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.BaseKeyCollection.Item.html#GrapeCity_Win_Spread_InputMan_CellType_BaseKeyCollection_Item_System_Int32_">this[int]</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the element at the specified index.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Win_Spread_InputMan_CellType_BaseKeyCollection_Item_System_String_" data-uid="GrapeCity.Win.Spread.InputMan.CellType.BaseKeyCollection.Item(System.String)">
          <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.BaseKeyCollection.Item.html#GrapeCity_Win_Spread_InputMan_CellType_BaseKeyCollection_Item_System_String_">this[string]</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the element with the specified key.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Win_Spread_InputMan_CellType_BaseKeyCollection_ItemList" data-uid="GrapeCity.Win.Spread.InputMan.CellType.BaseKeyCollection.ItemList">
          <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.BaseKeyCollection.ItemList.html#GrapeCity_Win_Spread_InputMan_CellType_BaseKeyCollection_ItemList">ItemList</a>
        </td>
        <td class="markdown level1 summary"><p>Gets an <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.icollection">ICollection</a> that contains the list of elements in the <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.BaseKeyCollection.html">BaseKeyCollection</a> instance.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Win_Spread_InputMan_CellType_BaseKeyCollection_Keys" data-uid="GrapeCity.Win.Spread.InputMan.CellType.BaseKeyCollection.Keys">
          <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.BaseKeyCollection.Keys.html#GrapeCity_Win_Spread_InputMan_CellType_BaseKeyCollection_Keys">Keys</a>
        </td>
        <td class="markdown level1 summary"><p>Gets a <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a> array that contains the keys in the <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.BaseKeyCollection.html">BaseKeyCollection</a>.</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_Win_Spread_InputMan_CellType_BaseKeyCollection_Add_System_String_System_Object_" data-uid="GrapeCity.Win.Spread.InputMan.CellType.BaseKeyCollection.Add(System.String,System.Object)">
          <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.BaseKeyCollection.Add.html#GrapeCity_Win_Spread_InputMan_CellType_BaseKeyCollection_Add_System_String_System_Object_">Add(string, object)</a>
        </td>
        <td class="markdown level1 summary"><p>Adds an element with the specified key and value to the end of the <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.BaseKeyCollection.html">BaseKeyCollection</a>.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Win_Spread_InputMan_CellType_BaseKeyCollection_AddRange_System_String___System_Object___" data-uid="GrapeCity.Win.Spread.InputMan.CellType.BaseKeyCollection.AddRange(System.String[],System.Object[])">
          <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.BaseKeyCollection.AddRange.html#GrapeCity_Win_Spread_InputMan_CellType_BaseKeyCollection_AddRange_System_String___System_Object___">AddRange(string[], object[])</a>
        </td>
        <td class="markdown level1 summary"><p>Adds the elements of key-and-value pairs in arrays to the end of the <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.BaseKeyCollection.html">BaseKeyCollection</a>.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Win_Spread_InputMan_CellType_BaseKeyCollection_Clear" data-uid="GrapeCity.Win.Spread.InputMan.CellType.BaseKeyCollection.Clear">
          <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.BaseKeyCollection.Clear.html#GrapeCity_Win_Spread_InputMan_CellType_BaseKeyCollection_Clear">Clear()</a>
        </td>
        <td class="markdown level1 summary"><p>Removes all elements from the <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.BaseKeyCollection.html">BaseKeyCollection</a>.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Win_Spread_InputMan_CellType_BaseKeyCollection_Contains_System_Object_" data-uid="GrapeCity.Win.Spread.InputMan.CellType.BaseKeyCollection.Contains(System.Object)">
          <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.BaseKeyCollection.Contains.html#GrapeCity_Win_Spread_InputMan_CellType_BaseKeyCollection_Contains_System_Object_">Contains(object)</a>
        </td>
        <td class="markdown level1 summary"><p>Determines whether an element is contained in the <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.BaseKeyCollection.html">BaseKeyCollection</a>.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Win_Spread_InputMan_CellType_BaseKeyCollection_ContainsKey_System_String_" data-uid="GrapeCity.Win.Spread.InputMan.CellType.BaseKeyCollection.ContainsKey(System.String)">
          <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.BaseKeyCollection.ContainsKey.html#GrapeCity_Win_Spread_InputMan_CellType_BaseKeyCollection_ContainsKey_System_String_">ContainsKey(string)</a>
        </td>
        <td class="markdown level1 summary"><p>Determines whether the <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.BaseKeyCollection.html">BaseKeyCollection</a> contains a specific key.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Win_Spread_InputMan_CellType_BaseKeyCollection_ContainsValue_System_Object_" data-uid="GrapeCity.Win.Spread.InputMan.CellType.BaseKeyCollection.ContainsValue(System.Object)">
          <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.BaseKeyCollection.ContainsValue.html#GrapeCity_Win_Spread_InputMan_CellType_BaseKeyCollection_ContainsValue_System_Object_">ContainsValue(object)</a>
        </td>
        <td class="markdown level1 summary"><p>Determines whether the <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.BaseKeyCollection.html">BaseKeyCollection</a> contains a specific value.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Win_Spread_InputMan_CellType_BaseKeyCollection_Dispose" data-uid="GrapeCity.Win.Spread.InputMan.CellType.BaseKeyCollection.Dispose">
          <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.BaseKeyCollection.Dispose.html#GrapeCity_Win_Spread_InputMan_CellType_BaseKeyCollection_Dispose">Dispose()</a>
        </td>
        <td class="markdown level1 summary"><p>Releases the resources used by the <b>BaseKeyCollection</b>.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Win_Spread_InputMan_CellType_BaseKeyCollection_GetKey_System_Int32_" data-uid="GrapeCity.Win.Spread.InputMan.CellType.BaseKeyCollection.GetKey(System.Int32)">
          <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.BaseKeyCollection.GetKey.html#GrapeCity_Win_Spread_InputMan_CellType_BaseKeyCollection_GetKey_System_Int32_">GetKey(int)</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the key of the element with the specified index in the collection.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Win_Spread_InputMan_CellType_BaseKeyCollection_IndexOf_System_Object_" data-uid="GrapeCity.Win.Spread.InputMan.CellType.BaseKeyCollection.IndexOf(System.Object)">
          <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.BaseKeyCollection.IndexOf.html#GrapeCity_Win_Spread_InputMan_CellType_BaseKeyCollection_IndexOf_System_Object_">IndexOf(object)</a>
        </td>
        <td class="markdown level1 summary"><p>Searches for the specified <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a> and returns the zero-based index within the <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.BaseKeyCollection.html">BaseKeyCollection</a>.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Win_Spread_InputMan_CellType_BaseKeyCollection_IndexOf_System_String_" data-uid="GrapeCity.Win.Spread.InputMan.CellType.BaseKeyCollection.IndexOf(System.String)">
          <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.BaseKeyCollection.IndexOf.html#GrapeCity_Win_Spread_InputMan_CellType_BaseKeyCollection_IndexOf_System_String_">IndexOf(string)</a>
        </td>
        <td class="markdown level1 summary"><p>Returns the zero-based index of the element with specified key in the <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.BaseKeyCollection.html">BaseKeyCollection</a>.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Win_Spread_InputMan_CellType_BaseKeyCollection_Insert_System_Int32_System_String_System_Object_" data-uid="GrapeCity.Win.Spread.InputMan.CellType.BaseKeyCollection.Insert(System.Int32,System.String,System.Object)">
          <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.BaseKeyCollection.Insert.html#GrapeCity_Win_Spread_InputMan_CellType_BaseKeyCollection_Insert_System_Int32_System_String_System_Object_">Insert(int, string, object)</a>
        </td>
        <td class="markdown level1 summary"><p>Inserts an element with the specified key and value at the specified index of the <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.BaseKeyCollection.html">BaseKeyCollection</a>.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Win_Spread_InputMan_CellType_BaseKeyCollection_Remove_System_String_" data-uid="GrapeCity.Win.Spread.InputMan.CellType.BaseKeyCollection.Remove(System.String)">
          <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.BaseKeyCollection.Remove.html#GrapeCity_Win_Spread_InputMan_CellType_BaseKeyCollection_Remove_System_String_">Remove(string)</a>
        </td>
        <td class="markdown level1 summary"><p>Removes the element with the specified key from the <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.BaseKeyCollection.html">BaseKeyCollection</a>.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Win_Spread_InputMan_CellType_BaseKeyCollection_RemoveAt_System_Int32_" data-uid="GrapeCity.Win.Spread.InputMan.CellType.BaseKeyCollection.RemoveAt(System.Int32)">
          <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.BaseKeyCollection.RemoveAt.html#GrapeCity_Win_Spread_InputMan_CellType_BaseKeyCollection_RemoveAt_System_Int32_">RemoveAt(int)</a>
        </td>
        <td class="markdown level1 summary"><p>Removes the element at the specified index of the <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.BaseKeyCollection.html">BaseKeyCollection</a>.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
