Returns the index of the row that has the given PropertyDescriptor.
Namespace: Dapfor.Wpf.DataAssembly: Dapfor.Wpf (in Dapfor.Wpf.dll) Version: 4.1.0.26317 (4.1.0.26317)
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. |