# GrapeCity.Win.Spread.InputMan.CellType.ListItemCollection.Find

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="GrapeCity_Win_Spread_InputMan_CellType_ListItemCollection_Find_" data-uid="GrapeCity.Win.Spread.InputMan.CellType.ListItemCollection.Find*">Find Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_Win_Spread_InputMan_CellType_ListItemCollection_Find_" data-uid="GrapeCity.Win.Spread.InputMan.CellType.ListItemCollection.Find*"></a>
<h4 id="GrapeCity_Win_Spread_InputMan_CellType_ListItemCollection_Find_System_Object_System_Collections_IComparer_System_Int32_System_Int32_" data-uid="GrapeCity.Win.Spread.InputMan.CellType.ListItemCollection.Find(System.Object,System.Collections.IComparer,System.Int32,System.Int32)">Find(object, IComparer, int, int)</h4>
<div class="markdown level1 summary"><p>Finds the value by comparer form start index.</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(object value, IComparer comparer, int startIndex, int findTargetColumnIndex)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Function Find(value As Object, comparer As IComparer, startIndex As Integer, findTargetColumnIndex 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.object">object</a></td>
      <td><span class="parametername">value</span></td>
      <td><p>The <b>object</b> value to search for.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.icomparer">IComparer</a></td>
      <td><span class="parametername">comparer</span></td>
      <td><p>The <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.icomparer">IComparer</a> value indicating the comparer.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">startIndex</span></td>
      <td><p>The zero-based index of the item before the first item to be searched.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">findTargetColumnIndex</span></td>
      <td><p>The <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a> value to which column index search in.</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><p>If successed,index of the item,otherwise,-1</p>
</td>
    </tr>
  </tbody>
</table>
</div>
