Find a record.

The first record that matches the condition will be returned.

If the record is not found, a null will be returned.

This method is inherited from the RecordsetData class.

public TRecord Find(Predicate<TRecord> match)


Find the first record with the first name "John":

var record = customers.Find(r => r.Firstname == "John");

if (record != null)

    MessageBox.Show("found it");