---
title: "ABTypeOfProperty(_:_:_:)"
framework: Address Book
role: symbol
role_heading: Function
path: "addressbook/abtypeofproperty(_:_:_:)"
---

# ABTypeOfProperty(_:_:_:)

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

## Declaration

```swift
func ABTypeOfProperty(_ addressBook: ABAddressBookRef!, _ recordType: CFString!, _ property: CFString!) -> ABPropertyType
```

## 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

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(_:_:_:)](addressbook/abaddpropertiesandtypes(_:_:_:).md)
- [ABCopyArrayOfPropertiesForRecordType(_:_:)](addressbook/abcopyarrayofpropertiesforrecordtype(_:_:).md)
- [ABCopyLocalizedPropertyOrLabel(_:)](addressbook/abcopylocalizedpropertyorlabel(_:).md)
- [ABLocalizedPropertyOrLabel(_:)](addressbook/ablocalizedpropertyorlabel(_:).md)
- [ABRemoveProperties(_:_:_:)](addressbook/abremoveproperties(_:_:_:).md)
