Function

ABTypeOfProperty

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

Declaration

ABPropertyType ABTypeOfProperty(ABAddressBookRef addressBook, CFStringRef recordType, CFStringRef property);

Parameters

addressBook

The address book for the logged-in user.

recordType

The record type that contains property: kABGroupRecordType or kABPersonRecordType.

property

The property whose type you wish to obtain.

Return Value

The type of property as defined in ABPropertyType. If property does not exist in recordType, this function returns kABErrorInProperty.

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.

ABCopyArrayOfPropertiesForRecordType

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

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.