# C1.Win.List.C1List.Find

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_Win_List_C1List_Find_" data-uid="C1.Win.List.C1List.Find*">Find Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_Win_List_C1List_Find_" data-uid="C1.Win.List.C1List.Find*"></a>
<h4 id="C1_Win_List_C1List_Find_System_String_C1_Win_List_MatchCompareEnum_System_Boolean_System_Int32_System_Int32_" data-uid="C1.Win.List.C1List.Find(System.String,C1.Win.List.MatchCompareEnum,System.Boolean,System.Int32,System.Int32)">Find(string, MatchCompareEnum, bool, int, int)</h4>
<div class="markdown level1 summary"><p>Searches a string in a specific column.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public int Find(string target, MatchCompareEnum searchMode, bool includeStart, int startBmk, int colIndex)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Function Find(target As String, searchMode As MatchCompareEnum, includeStart As Boolean, startBmk As Integer, colIndex As Integer) As Integer</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">target</span></td>
      <td><p>The target string.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="C1.Win.List.MatchCompareEnum.html">MatchCompareEnum</a></td>
      <td><span class="parametername">searchMode</span></td>
      <td><p>Comparation mode.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><span class="parametername">includeStart</span></td>
      <td><p>Start search from the first row.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">startBmk</span></td>
      <td><p>The start row to search.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">colIndex</span></td>
      <td><p>The column index to search.</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="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td></td>
    </tr>
  </tbody>
</table>


<a id="C1_Win_List_C1List_Find_" data-uid="C1.Win.List.C1List.Find*"></a>
<h4 id="C1_Win_List_C1List_Find_System_String_C1_Win_List_MatchCompareEnum_System_Boolean_System_Int32_System_String_" data-uid="C1.Win.List.C1List.Find(System.String,C1.Win.List.MatchCompareEnum,System.Boolean,System.Int32,System.String)">Find(string, MatchCompareEnum, bool, int, string)</h4>
<div class="markdown level1 summary"><p>Searches a string in a specific column.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public int Find(string target, MatchCompareEnum searchMode, bool includeStart, int startBmk, string fieldName)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Function Find(target As String, searchMode As MatchCompareEnum, includeStart As Boolean, startBmk As Integer, fieldName As String) As Integer</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">target</span></td>
      <td><p>The target string.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="C1.Win.List.MatchCompareEnum.html">MatchCompareEnum</a></td>
      <td><span class="parametername">searchMode</span></td>
      <td><p>Comparation mode.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><span class="parametername">includeStart</span></td>
      <td><p>Start search from the first row.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">startBmk</span></td>
      <td><p>The start row to search.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
      <td><span class="parametername">fieldName</span></td>
      <td><p>The column to search specified by the field name.</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="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td></td>
    </tr>
  </tbody>
</table>
</div>
