Finds the PimItem with the matching property description value.
| C# | Visual Basic |
public virtual int Find( PropertyDescriptor property, Object key )
Public Overridable Function Find ( _ property As PropertyDescriptor, _ key As Object _ ) As Integer
- property (PropertyDescriptor)
- The PropertyDescriptor to search on.
- key (Object)
- The value of the property parameter to search for.
The index of the row that has the given PropertyDescriptor.
This method will select the first row where the value of the property parameter equals the value of the key parameter.
| Exception | Condition |
|---|---|
| NotSupportedException | Thrown when SupportSearching is false. |