Function

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.

Declaration

CFIndex ABRemoveProperties(ABAddressBookRef addressBook, CFStringRef recordType, CFArrayRef properties);

Parameters

addressBook

The address book for the logged-in user.

recordType

The name of record to remove the properties from: kABGroupRecordType or kABPersonRecordType.

properties

An array of properties (CFString objects) to remove.

Return Value

The number of properties successfully removed.

Discussion

Only custom properties can be removed. This function is not implemented.

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.

ABTypeOfProperty

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