Find(PropertyDescriptor,Object) Method
Searches for the index of the item that has the given property descriptor.
'Declaration
Public Overloads Overridable Function Find( _
ByVal As System.ComponentModel.PropertyDescriptor, _
ByVal As System.Object _
) As System.Integer
public virtual System.int Find(
System.ComponentModel.PropertyDescriptor ,
System.object
)
Parameters
- prop
- The System.ComponentModel.PropertyDescriptor to search on.
- key
- The value of the property parameter to search for.
Return Value
The index of the item that has the given System.ComponentModel.PropertyDescriptor.