Function

ODRecordRemoveValue(_:_:_:_:)

Removes a value from a record’s attribute.

Declaration

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

Parameters

inRecord

The record.

inAttribute

The attribute.

inValue

The value to remove.

outError

An error reference for error details. Can be NULL.

Return Value

true if inValue is successfully removed from inAttribute; otherwise, false.

Discussion

If inValue does not exist, true is returned and no error is set.

See Also

Working with Records

func ODRecordGetTypeID() -> CFTypeID

Returns the type ID for a record.

func ODRecordSynchronize(ODRecordRef!, UnsafeMutablePointer<Unmanaged<CFError>?>!) -> Bool

Synchronizes a record with the directory to get current data and commit changes.