Returns a search element object that specifies a query for records of this type.
- macOS 10.2+
The name of the property to search on. It cannot be
NULL. For a full list of the properties, see Person Properties and Common Properties in ABRecord.
The label name for a multi-value list. If
propertydoes not have multiple values, pass
propertydoes have multiple values, pass
NULLto search all the values.
The key name for a dictionary. If
propertyis not a dictionary, pass
propertyis a dictionary, pass
NULLto search all keys.
The value you are searching for. It cannot be
A search element object that specifies a query according to the above parameters. You are responsible for releasing this object.
Use the ABAddressBook
ABCopy function to actually perform the query. Also, see ABSearchElement C for more functions that create compound queries.