# GrapeCity.Win.Spread.InputMan.CellType.NamedObjectCollection-1

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="GrapeCity_Win_Spread_InputMan_CellType_NamedObjectCollection_1" data-uid="GrapeCity.Win.Spread.InputMan.CellType.NamedObjectCollection`1" class="text-break">NamedObjectCollection&lt;T&gt; Class
</h1>
  <div class="markdown level0 summary"><p>Represents the strongly typed collection of <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.INamedObject.html">INamedObject</a> objects.
Provides methods and properties to search and access items using the <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.INamedObject.Name.html#GrapeCity_Win_Spread_InputMan_CellType_INamedObject_Name">Name</a> property of the <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.INamedObject.html">INamedObject</a> object.</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"><a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.CollectionBase-1.html">CollectionBase</a>&lt;T&gt;</div>
    <div class="level3"><span class="xref">NamedObjectCollection&lt;T&gt;</span></div>
      <div class="level4"><a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.DateTimeDisplayFieldCollectionInfo.html">DateTimeDisplayFieldCollectionInfo</a></div>
      <div class="level4"><a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.DateTimeFieldCollectionInfo.html">DateTimeFieldCollectionInfo</a></div>
      <div class="level4"><a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.Fields.DisplayFieldCollection-1.html">DisplayFieldCollection&lt;T&gt;</a></div>
      <div class="level4"><a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.Fields.FieldCollection-1.html">FieldCollection&lt;T&gt;</a></div>
      <div class="level4"><a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.MaskFieldCollectionInfo.html">MaskFieldCollectionInfo</a></div>
      <div class="level4"><a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.NumberDisplayFieldCollectionInfo.html">NumberDisplayFieldCollectionInfo</a></div>
      <div class="level4"><a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.SideButtonCollectionInfo.html">SideButtonCollectionInfo</a></div>
      <div class="level4"><a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.TimeSpanDisplayFieldCollectionInfo.html">TimeSpanDisplayFieldCollectionInfo</a></div>
      <div class="level4"><a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.TimeSpanFieldCollectionInfo.html">TimeSpanFieldCollectionInfo</a></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>
  <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_NamedObjectCollection_1_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class NamedObjectCollection&lt;T&gt; : CollectionBase&lt;T&gt;, IList, ICollection, IEnumerable where T : INamedObject</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class NamedObjectCollection(Of T As INamedObject)
    Inherits CollectionBase(Of T)
    Implements IList, ICollection, IEnumerable</code></pre>
  </div>
  <h5 class="typeParameters">Type Parameters</h5>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="parametername">T</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <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_NamedObjectCollection_1__ctor" data-uid="GrapeCity.Win.Spread.InputMan.CellType.NamedObjectCollection`1.#ctor">
          <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.NamedObjectCollection-1.-ctor.html#GrapeCity_Win_Spread_InputMan_CellType_NamedObjectCollection_1__ctor">NamedObjectCollection()</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.NamedObjectCollection-1.html">NamedObjectCollection&lt;T&gt;</a> class.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Win_Spread_InputMan_CellType_NamedObjectCollection_1__ctor_GrapeCity_Win_Spread_InputMan_CellType_NamedObjectCollection__0__" data-uid="GrapeCity.Win.Spread.InputMan.CellType.NamedObjectCollection`1.#ctor(GrapeCity.Win.Spread.InputMan.CellType.NamedObjectCollection{`0})">
          <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.NamedObjectCollection-1.-ctor.html#GrapeCity_Win_Spread_InputMan_CellType_NamedObjectCollection_1__ctor_GrapeCity_Win_Spread_InputMan_CellType_NamedObjectCollection__0__">NamedObjectCollection(NamedObjectCollection&lt;T&gt;)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.NamedObjectCollection-1.html">NamedObjectCollection&lt;T&gt;</a> class.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Win_Spread_InputMan_CellType_NamedObjectCollection_1__ctor__0___" data-uid="GrapeCity.Win.Spread.InputMan.CellType.NamedObjectCollection`1.#ctor(`0[])">
          <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.NamedObjectCollection-1.-ctor.html#GrapeCity_Win_Spread_InputMan_CellType_NamedObjectCollection_1__ctor__0___">NamedObjectCollection(T[])</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.NamedObjectCollection-1.html">NamedObjectCollection&lt;T&gt;</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_NamedObjectCollection_1_Item_System_String_" data-uid="GrapeCity.Win.Spread.InputMan.CellType.NamedObjectCollection`1.Item(System.String)">
          <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.NamedObjectCollection-1.Item.html#GrapeCity_Win_Spread_InputMan_CellType_NamedObjectCollection_1_Item_System_String_">this[string]</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the element with the specified 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_Win_Spread_InputMan_CellType_NamedObjectCollection_1_ContainsKey_System_String_" data-uid="GrapeCity.Win.Spread.InputMan.CellType.NamedObjectCollection`1.ContainsKey(System.String)">
          <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.NamedObjectCollection-1.ContainsKey.html#GrapeCity_Win_Spread_InputMan_CellType_NamedObjectCollection_1_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.NamedObjectCollection-1.html">NamedObjectCollection&lt;T&gt;</a> collection contains an item with the specified key.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Win_Spread_InputMan_CellType_NamedObjectCollection_1_Find_System_String_" data-uid="GrapeCity.Win.Spread.InputMan.CellType.NamedObjectCollection`1.Find(System.String)">
          <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.NamedObjectCollection-1.Find.html#GrapeCity_Win_Spread_InputMan_CellType_NamedObjectCollection_1_Find_System_String_">Find(string)</a>
        </td>
        <td class="markdown level1 summary"><p>Finds the item using the specified name.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Win_Spread_InputMan_CellType_NamedObjectCollection_1_IndexOfKey_System_String_" data-uid="GrapeCity.Win.Spread.InputMan.CellType.NamedObjectCollection`1.IndexOfKey(System.String)">
          <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.NamedObjectCollection-1.IndexOfKey.html#GrapeCity_Win_Spread_InputMan_CellType_NamedObjectCollection_1_IndexOfKey_System_String_">IndexOfKey(string)</a>
        </td>
        <td class="markdown level1 summary"><p>Retrieves the index of the first occurrence of the specified item within the collection.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
