Note
property cannot be . To search by the whole value of T rather than by one of its properties
use the IndexOf method.
public int Find(
PropertyDescriptor property,
Object key
)
Public Function Find (
property As PropertyDescriptor,
key As Object
) As Integer
public:
virtual int Find(
PropertyDescriptor^ property,
Object^ key
) sealed
abstract Find :
property : PropertyDescriptor *
key : Object -> int
override Find :
property : PropertyDescriptor *
key : Object -> int
To customize the behavior override the FindCore method in a derived class.
ArgumentNullException | property is . |
ArgumentException | property is not a property of T. |