# C1.C1Preview.NamedCollection

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_C1Preview_NamedCollection" data-uid="C1.C1Preview.NamedCollection" class="text-break">NamedCollection Class
</h1>
  <div class="markdown level0 summary"><p>Represents an <a class="xref" href="C1.C1Preview.OwnedCollection.html">OwnedCollection</a> of uniquely-named elements.</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="C1.C1Preview.OwnedCollectionBase.html">OwnedCollectionBase</a></div>
    <div class="level3"><a class="xref" href="C1.C1Preview.OwnedCollection.html">OwnedCollection</a></div>
    <div class="level4"><span class="xref">NamedCollection</span></div>
      <div class="level5"><a class="xref" href="C1.C1Preview.DataBinding.AggregateCollection.html">AggregateCollection</a></div>
      <div class="level5"><a class="xref" href="C1.C1Preview.DataBinding.DataSetFieldCollection.html">DataSetFieldCollection</a></div>
      <div class="level5"><a class="xref" href="C1.C1Preview.DataBinding.FieldCollection.html">FieldCollection</a></div>
      <div class="level5"><a class="xref" href="C1.C1Preview.DataBinding.QueryParameterCollection.html">QueryParameterCollection</a></div>
      <div class="level5"><a class="xref" href="C1.C1Preview.Dictionary.html">Dictionary</a></div>
      <div class="level5"><a class="xref" href="C1.C1Preview.SystemTagCollection.html">SystemTagCollection</a></div>
      <div class="level5"><a class="xref" href="C1.C1Preview.TagCollection.html">TagCollection</a></div>
      <div class="level5"><a class="xref" href="C1.C1Preview.TagListInputParamsItemCollection.html">TagListInputParamsItemCollection</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="C1.C1Preview.html">C1.C1Preview</a></h6>
  <h6><strong>Assembly</strong>: C1.PrintDocument.10.dll</h6>
  <h5 id="C1_C1Preview_NamedCollection_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public abstract class NamedCollection : OwnedCollection, IList, ICollection, IEnumerable</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public MustInherit Class NamedCollection
    Inherits OwnedCollection
    Implements 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_C1Preview_NamedCollection__ctor_C1_C1Preview_ICollectionOwner_" data-uid="C1.C1Preview.NamedCollection.#ctor(C1.C1Preview.ICollectionOwner)">
          <a class="xref" href="C1.C1Preview.NamedCollection.-ctor.html#C1_C1Preview_NamedCollection__ctor_C1_C1Preview_ICollectionOwner_">NamedCollection(ICollectionOwner)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.C1Preview.NamedCollection.html">NamedCollection</a> class.</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_C1Preview_NamedCollection_FindByName_System_String_" data-uid="C1.C1Preview.NamedCollection.FindByName(System.String)">
          <a class="xref" href="C1.C1Preview.NamedCollection.FindByName.html#C1_C1Preview_NamedCollection_FindByName_System_String_">FindByName(string)</a>
        </td>
        <td class="markdown level1 summary"><p>Returns <a class="xref" href="C1.C1Preview.NamedCollectionItem.html">NamedCollectionItem</a> with specified name.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_NamedCollection_GetItemType" data-uid="C1.C1Preview.NamedCollection.GetItemType">
          <a class="xref" href="C1.C1Preview.NamedCollection.GetItemType.html#C1_C1Preview_NamedCollection_GetItemType">GetItemType()</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the type of collection elements.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_NamedCollection_IndexOfName_System_String_" data-uid="C1.C1Preview.NamedCollection.IndexOfName(System.String)">
          <a class="xref" href="C1.C1Preview.NamedCollection.IndexOfName.html#C1_C1Preview_NamedCollection_IndexOfName_System_String_">IndexOfName(string)</a>
        </td>
        <td class="markdown level1 summary"><p>Returns the 0-based index of a <a class="xref" href="C1.C1Preview.NamedCollectionItem.html">NamedCollectionItem</a>
with specified name in the current <a class="xref" href="C1.C1Preview.NamedCollection.html">NamedCollection</a>.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_NamedCollection_OnClearComplete" data-uid="C1.C1Preview.NamedCollection.OnClearComplete">
          <a class="xref" href="C1.C1Preview.NamedCollection.OnClearComplete.html#C1_C1Preview_NamedCollection_OnClearComplete">OnClearComplete()</a>
        </td>
        <td class="markdown level1 summary"><p>Called after the collection has been cleared.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_NamedCollection_OnInsert_System_Int32_System_Object_" data-uid="C1.C1Preview.NamedCollection.OnInsert(System.Int32,System.Object)">
          <a class="xref" href="C1.C1Preview.NamedCollection.OnInsert.html#C1_C1Preview_NamedCollection_OnInsert_System_Int32_System_Object_">OnInsert(int, object)</a>
        </td>
        <td class="markdown level1 summary"><p>Called when an item is about to be iserted.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_NamedCollection_OnRemoveComplete_System_Int32_System_Object_" data-uid="C1.C1Preview.NamedCollection.OnRemoveComplete(System.Int32,System.Object)">
          <a class="xref" href="C1.C1Preview.NamedCollection.OnRemoveComplete.html#C1_C1Preview_NamedCollection_OnRemoveComplete_System_Int32_System_Object_">OnRemoveComplete(int, object)</a>
        </td>
        <td class="markdown level1 summary"><p>Called after an item has been removed.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_NamedCollection_OnSet_System_Int32_System_Object_System_Object_" data-uid="C1.C1Preview.NamedCollection.OnSet(System.Int32,System.Object,System.Object)">
          <a class="xref" href="C1.C1Preview.NamedCollection.OnSet.html#C1_C1Preview_NamedCollection_OnSet_System_Int32_System_Object_System_Object_">OnSet(int, object, object)</a>
        </td>
        <td class="markdown level1 summary"><p>Called when an item is about to be set.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_NamedCollection_OnSetComplete_System_Int32_System_Object_System_Object_" data-uid="C1.C1Preview.NamedCollection.OnSetComplete(System.Int32,System.Object,System.Object)">
          <a class="xref" href="C1.C1Preview.NamedCollection.OnSetComplete.html#C1_C1Preview_NamedCollection_OnSetComplete_System_Int32_System_Object_System_Object_">OnSetComplete(int, object, object)</a>
        </td>
        <td class="markdown level1 summary"><p>Called after an item has been set.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
