---
title: "ABRecordCopyRecordType(_:)"
framework: addressbook
role: symbol
role_heading: Function
path: "addressbook/abrecordcopyrecordtype(_:)"
---

# ABRecordCopyRecordType(_:)

Returns the type of the given record.

## Declaration

```swift
func ABRecordCopyRecordType(_ record: ABRecordRef!) -> Unmanaged<CFString>!
```

## Parameters

- `record`: The record whose type you wish to obtain.

## Return Value

Return Value The type of record,one of the kAB...RecordType constants.You are responsible for releasing this object.

## See Also

### Records

- [ABAddRecord(_:_:)](addressbook/abaddrecord(_:_:).md)
- [ABCopyRecordForUniqueId(_:_:)](addressbook/abcopyrecordforuniqueid(_:_:).md)
- [ABCopyRecordTypeFromUniqueId(_:_:)](addressbook/abcopyrecordtypefromuniqueid(_:_:).md)
- [ABCreateFormattedAddressFromDictionary(_:_:)](addressbook/abcreateformattedaddressfromdictionary(_:_:).md)
- [ABRecordCopyUniqueId(_:)](addressbook/abrecordcopyuniqueid(_:).md)
- [ABRecordCopyValue(_:_:)](addressbook/abrecordcopyvalue(_:_:).md)
- [ABRecordCreateCopy(_:)](addressbook/abrecordcreatecopy(_:).md)
- [ABRecordIsReadOnly(_:)](addressbook/abrecordisreadonly(_:).md)
- [ABRecordRemoveValue(_:_:_:)](addressbook/abrecordremovevalue(_:_:).md)
- [ABRecordSetValue(_:_:_:_:)](addressbook/abrecordsetvalue(_:_:_:).md)
- [ABRemoveRecord(_:_:)](addressbook/abremoverecord(_:_:).md)
