Returns the index of the row that has the given PropertyDescriptor.
Namespace: Dapfor.Net.DataAssembly: Dapfor.Net (in Dapfor.Net.dll) Version: 2.10.3.24917 (2.10.3.24917)
Syntax
C# |
---|
public int Find( PropertyDescriptor property, Object key ) |
Visual Basic |
---|
Public Function Find ( property As PropertyDescriptor, key As Object ) As Integer |
Visual C++ |
---|
public: virtual int Find( PropertyDescriptor^ property, Object^ key ) sealed |
F# |
---|
abstract Find : property : PropertyDescriptor * key : Object -> int override Find : property : PropertyDescriptor * key : Object -> int |
Parameters
- property
- Type: System.ComponentModel..::..PropertyDescriptor
The PropertyDescriptor to search on.
- key
- Type: System..::..Object
The value of the property parameter to search for.
Return Value
Type: Int32The index of the row that has the given PropertyDescriptor.
Implements
IBindingList..::..Find(PropertyDescriptor, Object)Exceptions
Exception | Condition |
---|---|
System..::..NotSupportedException | SupportsSearching is false. |