Function

ABSearchElementMatchesRecord

Tests whether or not a record matches a search element.

Declaration

bool ABSearchElementMatchesRecord(ABSearchElementRef searchElement, ABRecordRef record);

Parameters

searchElement

The search element containing the query you wish to test record with.

record

The record you wish to test.

Return Value

Returns true if the record parameter satisfies the conditions in the searchElement, false otherwise.

See Also

Search Elements

ABCopyArrayOfMatchingRecords

Returns an array of records that match the given search element, or an empty array if no records match the search element.

ABSearchElementCreateWithConjunction

Returns a compound search element created by combining the search elements in an array with the given conjunction.