Contents

ABMultiValueReplaceValueAtIndex(_:_:_:)

Replaces a value in a multivalue property with another value.

Declaration

func ABMultiValueReplaceValueAtIndex(_ multiValue: ABMutableMultiValue!, _ value: CFTypeRef!, _ index: CFIndex) -> Bool

Parameters

  • multiValue:

    The multivalue property containing the value to replace.

  • value:

    The new value.

  • index:

    The location, in multiValue, of the value 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