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.
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2