# C1.LiveLinq.Indexing.Index-1.FindStartingWith

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_LiveLinq_Indexing_Index_1_FindStartingWith_" data-uid="C1.LiveLinq.Indexing.Index`1.FindStartingWith*">FindStartingWith Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_LiveLinq_Indexing_Index_1_FindStartingWith_" data-uid="C1.LiveLinq.Indexing.Index`1.FindStartingWith*"></a>
<h4 id="C1_LiveLinq_Indexing_Index_1_FindStartingWith_System_String_System_Func_System_String_System_Boolean__C1_LiveLinq_Order_" data-uid="C1.LiveLinq.Indexing.Index`1.FindStartingWith(System.String,System.Func{System.String,System.Boolean},C1.LiveLinq.Order)">FindStartingWith(string, Func&lt;string, bool&gt;, Order)</h4>
<div class="markdown level1 summary"><p>Finds items with string key values starting with the specified string.</p>
<p>Implements <a class="xref" href="C1.LiveLinq.Indexing.Search.IIndexScanner-1.FindStartingWith.html#C1_LiveLinq_Indexing_Search_IIndexScanner_1_FindStartingWith_System_String_System_Func_System_String_System_Boolean__C1_LiveLinq_Order_">IIndexScanner(T).FindStartingWith(string,Func(string, bool),Order)</a></p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public IndexQuery&lt;T, string&gt; FindStartingWith(string value, Func&lt;string, bool&gt; keyPredicate, Order order)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Function FindStartingWith(value As String, keyPredicate As Func(Of String, Boolean), order As Order) As IndexQuery(Of T, String)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Name</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
      <td><span class="parametername">value</span></td>
      <td><p>The string to search for as the beginning of key value strings.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.func-2">Func</a>&lt;<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a>, <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a>&gt;</td>
      <td><span class="parametername">keyPredicate</span></td>
      <td><p>An optional condition that found items must satisfy.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="C1.LiveLinq.Order.html">Order</a></td>
      <td><span class="parametername">order</span></td>
      <td><p>Optionally specifies the order of the key values to sort the result (<a class="xref" href="C1.LiveLinq.Order.html">Order</a>.<b>Unordered</b> if sorting is not required).</p>
</td>
    </tr>
  </tbody>
</table>
<h5 class="returns">Returns</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="C1.LiveLinq.Indexing.Search.IndexQuery-2.html">IndexQuery</a>&lt;T, <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a>&gt;</td>
      <td><p>An object enumerating all items whose key values are strings that have a beginning matching the specified string and satisfy the optional condition.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 class="implements">Implements</h5>
    <div><a class="xref" href="C1.LiveLinq.Indexing.Search.IIndexScanner-1.FindStartingWith.html#C1_LiveLinq_Indexing_Search_IIndexScanner_1_FindStartingWith_System_String_System_Func_System_String_System_Boolean__C1_LiveLinq_Order_">IIndexScanner&lt;T&gt;.FindStartingWith(string, Func&lt;string, bool&gt;, Order)</a></div>
</div>
