Contents

ODRecordAddValue(_:_:_:_:)

Adds a value to an attribute of a record.

Declaration

func ODRecordAddValue(_ record: ODRecordRef!, _ attribute: String!, _ value: CFTypeRef!, _ error: UnsafeMutablePointer<Unmanaged<CFError>?>!) -> Bool

Parameters

  • record:

    The record.

  • attribute:

    The attribute.

  • value:

    The value to add to the attribute. Can be a CFStringRef object or a CFDataRef object.

  • error:

    An error reference for error details. Can be NULL.

Return Value

true if the value is successfully added; false otherwise.

See Also

Working with Records