Contents

ABMultiValueAddValueAndLabel(_:_:_:_:)

Adds a value and its corresponding label to a multivalue property.

Declaration

func ABMultiValueAddValueAndLabel(_ multiValue: ABMutableMultiValue!, _ value: CFTypeRef!, _ label: CFString!, _ outIdentifier: UnsafeMutablePointer<ABMultiValueIdentifier>!) -> Bool

Parameters

  • multiValue:

    The multivalue property to add value and label to.

  • value:

    The value to add to multiValue.

  • label:

    The label for value.

  • outIdentifier:

    The address at which to place the identifier of the added value. Pass NULL to ignore the identifier.

Return Value

true when value is added to multiValue successfully, false otherwise.

Discussion

This function performs no type checking. It allows the addition of values whose type does not match the type declared for multiValue.

See Also

Deprecated