Contents

ABMultiValueReplaceLabelAtIndex(_:_:_:)

Replaces a label in a multivalue property with another label.

Declaration

func ABMultiValueReplaceLabelAtIndex(_ multiValue: ABMutableMultiValue!, _ label: CFString!, _ index: CFIndex) -> Bool

Parameters

  • multiValue:

    The multivalue property containing the label to replace.

  • label:

    The new label.

  • index:

    The location, in multiValue, of the label to replace.

    Raises an exception when out of bounds.

Return Value

true when successful, false otherwise.

Discussion

This function takes an index. If you have an identifier, use the ABMultiValueGetIndexForIdentifier(_:_:) function to get the corresponding index.

See Also

Deprecated