[This is preliminary documentation and is subject to change.]
When overriden in derived class returns the index of the row that has the given PropertyDescriptor.
Namespace: Tools.CollectionsT.GenericTAssembly: Tools (in Tools.dll) Version: 1.5.3.38916 (1.5.3.38916)
Syntax
| C# |
|---|
[EditorBrowsableAttribute(EditorBrowsableState.Never)] protected abstract int Find( PropertyDescriptor property, Object key ) |
| Visual Basic |
|---|
<EditorBrowsableAttribute(EditorBrowsableState.Never)> _ Protected MustOverride Function Find ( _ property As PropertyDescriptor, _ key As Object _ ) As Integer |
| Visual C++ |
|---|
[EditorBrowsableAttribute(EditorBrowsableState::Never)] protected: virtual int Find( PropertyDescriptor^ property, Object^ key ) abstract |
| F# |
|---|
[<EditorBrowsableAttribute(EditorBrowsableState.Never)>] abstract Find : property:PropertyDescriptor * key:Object -> int |
| JScript |
|---|
protected abstract function 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
The index of the row that has the given PropertyDescriptor.Implements
IBindingList..::..Find(PropertyDescriptor, Object)
Exceptions
| Exception | Condition |
|---|---|
| System..::..NotSupportedException | SupportsSearching is false. |