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