IBindingList::Find Method (PropertyDescriptor^, Object^)
.NET Framework (current version)
Returns the index of the row that has the given PropertyDescriptor.
Assembly: System (in System.dll)
Parameters
- property
-
Type:
System.ComponentModel::PropertyDescriptor^
The PropertyDescriptor to search on.
- key
-
Type:
System::Object^
The value of the property parameter to search for.
| Exception | Condition |
|---|---|
| NotSupportedException | SupportsSearching is false. |
This method will select the first row where the value of the property parameter equals the value of the key parameter.
This method is supported if SupportsSearching is true, otherwise this method throws a NotSupportedException.
.NET Framework
Available since 1.1
Available since 1.1
Show: