Contents

ABMultiValueSetPrimaryIdentifier(_:_:)

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

Declaration

func ABMultiValueSetPrimaryIdentifier(_ multiValue: ABMutableMultiValueRef!, _ identifier: CFString!) -> Bool

Parameters

  • multiValue:

    The multi-value list you wish to modify.

  • identifier:

    The identifier corresponding to the value you wish to designate as the primary value for this multi-value list. Use the Abmultivaluecopyidentifieratindex(_:_:) function to get the identifier given the index. If identifier is NULL, this function raises an exception.

Return Value

true ifsuccessfully, false otherwise.

See Also

Multi Values