# C1.Win.Map.MapCollectionBase-1

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Win_Map_MapCollectionBase_1" data-uid="C1.Win.Map.MapCollectionBase`1" class="text-break">MapCollectionBase&lt;T&gt; Class
</h1>
  <div class="markdown level0 summary"><p>Represents the collection of map objects.</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">MapCollectionBase&lt;T&gt;</span></div>
      <div class="level2"><a class="xref" href="C1.Win.Map.MapLayersCollection.html">MapLayersCollection</a></div>
      <div class="level2"><a class="xref" href="C1.Win.Map.MapLegendItemsCollection.html">MapLegendItemsCollection</a></div>
      <div class="level2"><a class="xref" href="C1.Win.Map.MapLegendsCollection.html">MapLegendsCollection</a></div>
      <div class="level2"><a class="xref" href="C1.Win.Map.MapSlicesCollection.html">MapSlicesCollection</a></div>
      <div class="level2"><a class="xref" href="C1.Win.Map.VectorItemsCollection.html">VectorItemsCollection</a></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.ilist-1">IList</a>&lt;T&gt;</div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.icollection-1">ICollection</a>&lt;T&gt;</div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.ienumerable-1">IEnumerable</a>&lt;T&gt;</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><a class="xref" href="C1.Win.Map.IEditingNotify.html">IEditingNotify</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.Win.Map.html">C1.Win.Map</a></h6>
  <h6><strong>Assembly</strong>: C1.Win.Map.10.dll</h6>
  <h5 id="C1_Win_Map_MapCollectionBase_1_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public abstract class MapCollectionBase&lt;T&gt; : IList&lt;T&gt;, ICollection&lt;T&gt;, IEnumerable&lt;T&gt;, IList, ICollection, IEnumerable, IEditingNotify where T : INotifier</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public MustInherit Class MapCollectionBase(Of T As INotifier)
    Implements IList(Of T), ICollection(Of T), IEnumerable(Of T), IList, ICollection, IEnumerable, IEditingNotify</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><p>The type of elements in the collection.</p>
</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="C1_Win_Map_MapCollectionBase_1__ctor" data-uid="C1.Win.Map.MapCollectionBase`1.#ctor">
          <a class="xref" href="C1.Win.Map.MapCollectionBase-1.-ctor.html#C1_Win_Map_MapCollectionBase_1__ctor">MapCollectionBase()</a>
        </td>
        <td class="markdown level1 summary"></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_Win_Map_MapCollectionBase_1_Count" data-uid="C1.Win.Map.MapCollectionBase`1.Count">
          <a class="xref" href="C1.Win.Map.MapCollectionBase-1.Count.html#C1_Win_Map_MapCollectionBase_1_Count">Count</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the number of elements in the collection.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Map_MapCollectionBase_1_Item_System_Int32_" data-uid="C1.Win.Map.MapCollectionBase`1.Item(System.Int32)">
          <a class="xref" href="C1.Win.Map.MapCollectionBase-1.Item.html#C1_Win_Map_MapCollectionBase_1_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>
    </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_Win_Map_MapCollectionBase_1_Add__0_" data-uid="C1.Win.Map.MapCollectionBase`1.Add(`0)">
          <a class="xref" href="C1.Win.Map.MapCollectionBase-1.Add.html#C1_Win_Map_MapCollectionBase_1_Add__0_">Add(T)</a>
        </td>
        <td class="markdown level1 summary"><p>Adds an existing item to the collection.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Map_MapCollectionBase_1_AddNew" data-uid="C1.Win.Map.MapCollectionBase`1.AddNew">
          <a class="xref" href="C1.Win.Map.MapCollectionBase-1.AddNew.html#C1_Win_Map_MapCollectionBase_1_AddNew">AddNew()</a>
        </td>
        <td class="markdown level1 summary"><p>Adds a new item to the collection.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Map_MapCollectionBase_1_Clear" data-uid="C1.Win.Map.MapCollectionBase`1.Clear">
          <a class="xref" href="C1.Win.Map.MapCollectionBase-1.Clear.html#C1_Win_Map_MapCollectionBase_1_Clear">Clear()</a>
        </td>
        <td class="markdown level1 summary"><p>Removes all items from the collection.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Map_MapCollectionBase_1_Contains__0_" data-uid="C1.Win.Map.MapCollectionBase`1.Contains(`0)">
          <a class="xref" href="C1.Win.Map.MapCollectionBase-1.Contains.html#C1_Win_Map_MapCollectionBase_1_Contains__0_">Contains(T)</a>
        </td>
        <td class="markdown level1 summary"><p>Determines whether the collection contains a specific item.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Map_MapCollectionBase_1_CopyTo__0___System_Int32_" data-uid="C1.Win.Map.MapCollectionBase`1.CopyTo(`0[],System.Int32)">
          <a class="xref" href="C1.Win.Map.MapCollectionBase-1.CopyTo.html#C1_Win_Map_MapCollectionBase_1_CopyTo__0___System_Int32_">CopyTo(T[], int)</a>
        </td>
        <td class="markdown level1 summary"><p>Copies the elements of the collection to an <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.array">Array</a>, starting at a particular array index.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Map_MapCollectionBase_1_IndexOf__0_" data-uid="C1.Win.Map.MapCollectionBase`1.IndexOf(`0)">
          <a class="xref" href="C1.Win.Map.MapCollectionBase-1.IndexOf.html#C1_Win_Map_MapCollectionBase_1_IndexOf__0_">IndexOf(T)</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the index of the element.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Map_MapCollectionBase_1_Insert_System_Int32__0_" data-uid="C1.Win.Map.MapCollectionBase`1.Insert(System.Int32,`0)">
          <a class="xref" href="C1.Win.Map.MapCollectionBase-1.Insert.html#C1_Win_Map_MapCollectionBase_1_Insert_System_Int32__0_">Insert(int, T)</a>
        </td>
        <td class="markdown level1 summary"><p>Inserts an item ot the collection at the specified index.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Map_MapCollectionBase_1_InternalAdd__0_" data-uid="C1.Win.Map.MapCollectionBase`1.InternalAdd(`0)">
          <a class="xref" href="C1.Win.Map.MapCollectionBase-1.InternalAdd.html#C1_Win_Map_MapCollectionBase_1_InternalAdd__0_">InternalAdd(T)</a>
        </td>
        <td class="markdown level1 summary"><p>Internal used only. Adds an existing item to the collection.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Map_MapCollectionBase_1_InternalClear" data-uid="C1.Win.Map.MapCollectionBase`1.InternalClear">
          <a class="xref" href="C1.Win.Map.MapCollectionBase-1.InternalClear.html#C1_Win_Map_MapCollectionBase_1_InternalClear">InternalClear()</a>
        </td>
        <td class="markdown level1 summary"><p>Internal used only. Removes all items from the collection.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Map_MapCollectionBase_1_InternalInsert_System_Int32__0_" data-uid="C1.Win.Map.MapCollectionBase`1.InternalInsert(System.Int32,`0)">
          <a class="xref" href="C1.Win.Map.MapCollectionBase-1.InternalInsert.html#C1_Win_Map_MapCollectionBase_1_InternalInsert_System_Int32__0_">InternalInsert(int, T)</a>
        </td>
        <td class="markdown level1 summary"><p>Internal used only. Inserts an item ot the collection at the specified index.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Map_MapCollectionBase_1_InternalRemoveAt_System_Int32_" data-uid="C1.Win.Map.MapCollectionBase`1.InternalRemoveAt(System.Int32)">
          <a class="xref" href="C1.Win.Map.MapCollectionBase-1.InternalRemoveAt.html#C1_Win_Map_MapCollectionBase_1_InternalRemoveAt_System_Int32_">InternalRemoveAt(int)</a>
        </td>
        <td class="markdown level1 summary"><p>Internal used only. Removes the item at the specified index.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Map_MapCollectionBase_1_NotifyChanges" data-uid="C1.Win.Map.MapCollectionBase`1.NotifyChanges">
          <a class="xref" href="C1.Win.Map.MapCollectionBase-1.NotifyChanges.html#C1_Win_Map_MapCollectionBase_1_NotifyChanges">NotifyChanges()</a>
        </td>
        <td class="markdown level1 summary"><p>Called when changes need be notified.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Map_MapCollectionBase_1_Remove__0_" data-uid="C1.Win.Map.MapCollectionBase`1.Remove(`0)">
          <a class="xref" href="C1.Win.Map.MapCollectionBase-1.Remove.html#C1_Win_Map_MapCollectionBase_1_Remove__0_">Remove(T)</a>
        </td>
        <td class="markdown level1 summary"><p>Removes an existing item from the collection.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Map_MapCollectionBase_1_RemoveAt_System_Int32_" data-uid="C1.Win.Map.MapCollectionBase`1.RemoveAt(System.Int32)">
          <a class="xref" href="C1.Win.Map.MapCollectionBase-1.RemoveAt.html#C1_Win_Map_MapCollectionBase_1_RemoveAt_System_Int32_">RemoveAt(int)</a>
        </td>
        <td class="markdown level1 summary"><p>Removes the item at the specified index.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
