# C1.Schedule.C1BindingSource.Find

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_Schedule_C1BindingSource_Find_" data-uid="C1.Schedule.C1BindingSource.Find*">Find Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_Schedule_C1BindingSource_Find_" data-uid="C1.Schedule.C1BindingSource.Find*"></a>
<h4 id="C1_Schedule_C1BindingSource_Find_System_ComponentModel_PropertyDescriptor_System_Object_" data-uid="C1.Schedule.C1BindingSource.Find(System.ComponentModel.PropertyDescriptor,System.Object)">Find(PropertyDescriptor, object)</h4>
<div class="markdown level1 summary"><p>Searches for the index of the item that has the given property descriptor.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public virtual int Find(PropertyDescriptor prop, object key)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Overridable Function Find(prop As PropertyDescriptor, key As Object) 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.componentmodel.propertydescriptor">PropertyDescriptor</a></td>
      <td><span class="parametername">prop</span></td>
      <td><p>The <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.componentmodel.propertydescriptor">PropertyDescriptor</a>
to search on.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a></td>
      <td><span class="parametername">key</span></td>
      <td><p>The value of the property parameter to search for.</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>The index of the item that has the given
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.componentmodel.propertydescriptor">PropertyDescriptor</a>.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 class="implements">Implements</h5>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.componentmodel.ibindinglist.find">IBindingList.Find(PropertyDescriptor, object)</a></div>


<a id="C1_Schedule_C1BindingSource_Find_" data-uid="C1.Schedule.C1BindingSource.Find*"></a>
<h4 id="C1_Schedule_C1BindingSource_Find_System_String_System_Object_" data-uid="C1.Schedule.C1BindingSource.Find(System.String,System.Object)">Find(string, object)</h4>
<div class="markdown level1 summary"><p>Returns the index of the item in the list with the specified property name and value.</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 propertyName, object key)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Function Find(propertyName As String, key As Object) 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">propertyName</span></td>
      <td><p>The property name to search on.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a></td>
      <td><span class="parametername">key</span></td>
      <td><p>The value of the property parameter to search for.</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>The index of the item in the list with the specified property name and value.</p>
</td>
    </tr>
  </tbody>
</table>
</div>
