Function

ABMultiValuePropertyType(_:)

Returns the type for the values in a multi-value list.

Declaration

func ABMultiValuePropertyType(_ multiValue: ABMultiValueRef!) -> ABPropertyType

Parameters

multiValue

The multi-value list whose property type you wish to obtain.

Return Value

The property type of multiValue. If the list is empty or its values are of different types, returns kABErrorInProperty.

See Also

Multi Values

func ABMultiValueCount(ABMultiValueRef!) -> CFIndex

Returns the number of entries in a multi-value list.

func ABMultiValueCreateMutable(ABPropertyType) -> Unmanaged<ABMutableMultiValue>!

Returns a newly created mutable multi-value list object.

func ABMultiValueRemove(ABMutableMultiValueRef!, CFIndex) -> Bool

Removes the value and label at the given index.

func ABMultiValueSetPrimaryIdentifier(ABMutableMultiValueRef!, CFString!) -> Bool

Sets the primary value to be the value for the given identifier.