Contents

ABRecordCopyValue(_:_:)

Returns the value of the given property.

Declaration

func ABRecordCopyValue(_ record: ABRecord!, _ property: ABPropertyID) -> Unmanaged<CFTypeRef>!
func ABRecordCopyValue(_ record: ABRecordRef!, _ property: CFString!) -> Unmanaged<CFTypeRef>!

Parameters

  • record:

    The record whose value you wish to obtain.

  • property:

    The property name in record whose value you wish to obtain. May be a pre-defined or program-defined property. See Common Properties for a list of properties all records have, and specific ABRecord derived opaque types for any additional properties.

Return Value

The value for property in record.The type of the returned value depends on the property type (see PropertyTypes for a list of possible property types). You are responsiblefor releasing this object.

Discussion

If the value for property is invalid, this function returns NULL.

See Also

Records