Function

ABCopyArrayOfPropertiesForRecordType

Returns an array containing the names of all the properties for the specified record type.

Declaration

CFArrayRef ABCopyArrayOfPropertiesForRecordType(ABAddressBookRef addressBook, CFStringRef recordType);

Parameters

addressBook

The address book for the logged-in user.

recordType

Specifies the type of record: kABGroupRecordType or kABPersonRecordType.

Return Value

An new array containing the names (CFString objects) of all the properties in recordType. You are responsible for releasing this object.

See Also

Properties

ABAddPropertiesAndTypes

Adds the given properties to all the records of the specified type in the Address Book database, and returns the number of properties successfully added.

ABCopyLocalizedPropertyOrLabel

Returns the localized version of a built in property, label, or key.

ABLocalizedPropertyOrLabel

Returns the localized version of a built in property, label, or key.

ABRemoveProperties

Removes the given properties from all the records of this type in the Address Book database, and returns the number of properties successfully removed.

ABTypeOfProperty

Returns the type of a given property for a given record.