# C1.C1Preview.Util.FastList

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_C1Preview_Util_FastList" data-uid="C1.C1Preview.Util.FastList" class="text-break">FastList Class
</h1>
  <div class="markdown level0 summary"><p>Represents an <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.ilist">IList</a> providing a fast search for the contained 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"><span class="xref">FastList</span></div>
      <div class="level2"><a class="xref" href="C1.C1Preview.OwnedFastListBase.html">OwnedFastListBase</a></div>
      <div class="level2"><a class="xref" href="C1.C1Preview.TableCellCollection.html">TableCellCollection</a></div>
      <div class="level2"><a class="xref" href="C1.C1Preview.TableVectorCollection.html">TableVectorCollection</a></div>
      <div class="level2"><a class="xref" href="C1.C1Preview.TableVectorGroupCollection.html">TableVectorGroupCollection</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.Util.html">C1.C1Preview.Util</a></h6>
  <h6><strong>Assembly</strong>: C1.WPF.PrintDocument.4.6.2.dll</h6>
  <h5 id="C1_C1Preview_Util_FastList_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class FastList : IList, ICollection, IEnumerable</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class FastList
    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_Util_FastList__ctor" data-uid="C1.C1Preview.Util.FastList.#ctor">
          <a class="xref" href="C1.C1Preview.Util.FastList.-ctor.html#C1_C1Preview_Util_FastList__ctor">FastList()</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_C1Preview_Util_FastList_InnerList" data-uid="C1.C1Preview.Util.FastList.InnerList">
          <a class="xref" href="C1.C1Preview.Util.FastList.InnerList.html#C1_C1Preview_Util_FastList_InnerList">InnerList</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.list-1">List&lt;T&gt;</a> used internally to store the elements of the current <a class="xref" href="C1.C1Preview.Util.FastList.html">FastList</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="C1_C1Preview_Util_FastList_Add_System_IComparable_" data-uid="C1.C1Preview.Util.FastList.Add(System.IComparable)">
          <a class="xref" href="C1.C1Preview.Util.FastList.Add.html#C1_C1Preview_Util_FastList_Add_System_IComparable_">Add(IComparable)</a>
        </td>
        <td class="markdown level1 summary"><p>Adds an object implementing the <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.icomparable">IComparable</a> interface to the current list.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_Util_FastList_Clear" data-uid="C1.C1Preview.Util.FastList.Clear">
          <a class="xref" href="C1.C1Preview.Util.FastList.Clear.html#C1_C1Preview_Util_FastList_Clear">Clear()</a>
        </td>
        <td class="markdown level1 summary"><p>Clears the current <a class="xref" href="C1.C1Preview.Util.FastList.html">FastList</a>.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_Util_FastList_FindObjectIndex_System_Object_System_Int32__" data-uid="C1.C1Preview.Util.FastList.FindObjectIndex(System.Object,System.Int32@)">
          <a class="xref" href="C1.C1Preview.Util.FastList.FindObjectIndex.html#C1_C1Preview_Util_FastList_FindObjectIndex_System_Object_System_Int32__">FindObjectIndex(object, out int)</a>
        </td>
        <td class="markdown level1 summary"><p>Performs a fast search for the specified object within the current <a class="xref" href="C1.C1Preview.Util.FastList.html">FastList</a>.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_Util_FastList_IndexOf_System_Object_" data-uid="C1.C1Preview.Util.FastList.IndexOf(System.Object)">
          <a class="xref" href="C1.C1Preview.Util.FastList.IndexOf.html#C1_C1Preview_Util_FastList_IndexOf_System_Object_">IndexOf(object)</a>
        </td>
        <td class="markdown level1 summary"><p>Returns the index of the specified object in the current <a class="xref" href="C1.C1Preview.Util.FastList.html">FastList</a>.
(Performs a fast search using the <a class="xref" href="C1.C1Preview.Util.FastList.FindObjectIndex.html#C1_C1Preview_Util_FastList_FindObjectIndex_System_Object_System_Int32__">FindObjectIndex(object, out int)</a> method.)</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_Util_FastList_Insert_System_Int32_System_Object_" data-uid="C1.C1Preview.Util.FastList.Insert(System.Int32,System.Object)">
          <a class="xref" href="C1.C1Preview.Util.FastList.Insert.html#C1_C1Preview_Util_FastList_Insert_System_Int32_System_Object_">Insert(int, object)</a>
        </td>
        <td class="markdown level1 summary"><p>Inserts the element at the specified index.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_Util_FastList_Remove_System_Object_" data-uid="C1.C1Preview.Util.FastList.Remove(System.Object)">
          <a class="xref" href="C1.C1Preview.Util.FastList.Remove.html#C1_C1Preview_Util_FastList_Remove_System_Object_">Remove(object)</a>
        </td>
        <td class="markdown level1 summary"><p>Removes the specified element from the current list.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_Util_FastList_RemoveAt_System_Int32_" data-uid="C1.C1Preview.Util.FastList.RemoveAt(System.Int32)">
          <a class="xref" href="C1.C1Preview.Util.FastList.RemoveAt.html#C1_C1Preview_Util_FastList_RemoveAt_System_Int32_">RemoveAt(int)</a>
        </td>
        <td class="markdown level1 summary"><p>Removes the element at the specified index from the current list.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
