Creates an ABSearchElement object that specifies a query for ABGroup records.
- macOS 10.2+
The name of the property to search on. It cannot be
NULL. For a full list of the properties, see Group Properties and Common Properties.
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. By default, ABGroup records don’t contain any multi-value list properties.
The key name for a dictionary. If
propertyis not a dictionary, pass
propertyis a dictionary, pass
NULLto search all keys. By default, ABGroup records don’t contain any properties that are dictionaries.
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
to actually perform the query. Also, see ABSearchElement C for
more functions that create compound queries.