# C1.LiveLinq.Indexing.IndexDefinition-1

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_LiveLinq_Indexing_IndexDefinition_1" data-uid="C1.LiveLinq.Indexing.IndexDefinition`1" class="text-break">IndexDefinition&lt;T&gt; Class
</h1>
  <div class="markdown level0 summary"><p>Contains common part of the <a class="xref" href="C1.LiveLinq.Indexing.Index-2.html">Index</a> and <a class="xref" href="C1.LiveLinq.Indexing.Subindex-2.html">Subindex</a> classes.</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">IndexDefinition&lt;T&gt;</span></div>
      <div class="level2"><a class="xref" href="C1.LiveLinq.Indexing.Index-1.html">Index</a>&lt;T&gt;</div>
      <div class="level2"><a class="xref" href="C1.LiveLinq.Indexing.Subindex-1.html">Subindex</a>&lt;T&gt;</div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.LiveLinq.Indexing.html">C1.LiveLinq.Indexing</a></h6>
  <h6><strong>Assembly</strong>: C1.LiveLinq.4.8.dll</h6>
  <h5 id="C1_LiveLinq_Indexing_IndexDefinition_1_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public abstract class IndexDefinition&lt;T&gt;</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public MustInherit Class IndexDefinition(Of T)</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 the elements of indexed collection.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 id="C1_LiveLinq_Indexing_IndexDefinition_1_remarks"><strong>Remarks</strong></h5>
  <div class="markdown level0 remarks"><p>This class serves as the base class of two classes: <a class="xref" href="C1.LiveLinq.Indexing.Index-1.html">Index</a> and <a class="xref" href="C1.LiveLinq.Indexing.Subindex-1.html">Subindex</a>.
It contains properties common to these two classes.</p>
</div>
  <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_LiveLinq_Indexing_IndexDefinition_1_Algorithm" data-uid="C1.LiveLinq.Indexing.IndexDefinition`1.Algorithm">
          <a class="xref" href="C1.LiveLinq.Indexing.IndexDefinition-1.Algorithm.html#C1_LiveLinq_Indexing_IndexDefinition_1_Algorithm">Algorithm</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the indexing algorithm used by the index.</p>
</td>
      </tr>
      <tr>
        <td id="C1_LiveLinq_Indexing_IndexDefinition_1_KeyIsUnique" data-uid="C1.LiveLinq.Indexing.IndexDefinition`1.KeyIsUnique">
          <a class="xref" href="C1.LiveLinq.Indexing.IndexDefinition-1.KeyIsUnique.html#C1_LiveLinq_Indexing_IndexDefinition_1_KeyIsUnique">KeyIsUnique</a>
        </td>
        <td class="markdown level1 summary"><p>Gets a value that indicates whether the key used in this index is a unique key for the collection.</p>
</td>
      </tr>
      <tr>
        <td id="C1_LiveLinq_Indexing_IndexDefinition_1_KeySelector" data-uid="C1.LiveLinq.Indexing.IndexDefinition`1.KeySelector">
          <a class="xref" href="C1.LiveLinq.Indexing.IndexDefinition-1.KeySelector.html#C1_LiveLinq_Indexing_IndexDefinition_1_KeySelector">KeySelector</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the expression used to obtain key value from an element of the indexed collection.</p>
</td>
      </tr>
      <tr>
        <td id="C1_LiveLinq_Indexing_IndexDefinition_1_KeyType" data-uid="C1.LiveLinq.Indexing.IndexDefinition`1.KeyType">
          <a class="xref" href="C1.LiveLinq.Indexing.IndexDefinition-1.KeyType.html#C1_LiveLinq_Indexing_IndexDefinition_1_KeyType">KeyType</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the type of the index key.</p>
</td>
      </tr>
      <tr>
        <td id="C1_LiveLinq_Indexing_IndexDefinition_1_Locale" data-uid="C1.LiveLinq.Indexing.IndexDefinition`1.Locale">
          <a class="xref" href="C1.LiveLinq.Indexing.IndexDefinition-1.Locale.html#C1_LiveLinq_Indexing_IndexDefinition_1_Locale">Locale</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the locale information used to compare strings in the index.</p>
</td>
      </tr>
      <tr>
        <td id="C1_LiveLinq_Indexing_IndexDefinition_1_Root" data-uid="C1.LiveLinq.Indexing.IndexDefinition`1.Root">
          <a class="xref" href="C1.LiveLinq.Indexing.IndexDefinition-1.Root.html#C1_LiveLinq_Indexing_IndexDefinition_1_Root">Root</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the root index in an index/subindex hierarchy.</p>
</td>
      </tr>
      <tr>
        <td id="C1_LiveLinq_Indexing_IndexDefinition_1_Subindexes" data-uid="C1.LiveLinq.Indexing.IndexDefinition`1.Subindexes">
          <a class="xref" href="C1.LiveLinq.Indexing.IndexDefinition-1.Subindexes.html#C1_LiveLinq_Indexing_IndexDefinition_1_Subindexes">Subindexes</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the collection of subindexes added to this index.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="extensionmethods">Extension Methods</h3>
  <div>
      <a class="xref" href="C1.LiveLinq.Hints.Indexed.html#C1_LiveLinq_Hints_Indexed__1___0_">Hints.Indexed&lt;T&gt;(T)</a>
  </div>
  <div>
      <a class="xref" href="C1.LiveLinq.Hints.Indexed.html#C1_LiveLinq_Hints_Indexed__1___0_C1_LiveLinq_IndexingHintAction_">Hints.Indexed&lt;T&gt;(T, IndexingHintAction)</a>
  </div>
  <h3 id="seealso">See Also</h3>
  <div class="seealso">
      <div><a class="xref" href="C1.LiveLinq.Indexing.Index-2.html">Index</a>&lt;T, TKey&gt;</div>
  </div>

</div>
