# C1.LiveLinq.Indexing.IndexDefinition-1.KeyType

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_LiveLinq_Indexing_IndexDefinition_1_KeyType_" data-uid="C1.LiveLinq.Indexing.IndexDefinition`1.KeyType*">KeyType Property
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_LiveLinq_Indexing_IndexDefinition_1_KeyType_" data-uid="C1.LiveLinq.Indexing.IndexDefinition`1.KeyType*"></a>
<h4 id="C1_LiveLinq_Indexing_IndexDefinition_1_KeyType" data-uid="C1.LiveLinq.Indexing.IndexDefinition`1.KeyType">KeyType</h4>
<div class="markdown level1 summary"><p>Gets the type of the index key.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public Type KeyType { get; }</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public ReadOnly Property KeyType As Type</code></pre>
</div>
<h5 class="propertyValue">Property Value</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.type">Type</a></td>
      <td><p>The type of the result of the <a class="xref" href="C1.LiveLinq.Indexing.IndexDefinition-1.KeySelector.html#C1_LiveLinq_Indexing_IndexDefinition_1_KeySelector">KeySelector</a> expression.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 id="C1_LiveLinq_Indexing_IndexDefinition_1_KeyType_remarks">Remarks</h5>
<div class="markdown level1 remarks"><p>This type is the same as the TKey type parameter for <a class="xref" href="C1.LiveLinq.Indexing.Index-2.html">Index&lt;T, TKey&gt;</a> and <a class="xref" href="C1.LiveLinq.Indexing.Subindex-2.html">Subindex&lt;T, TKey&gt;</a> objects.</p>
</div>
</div>
