<!--
{
  "availability" : [
    "macOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "AddressBook",
  "identifier" : "/documentation/AddressBook/ABMultiValueReplaceValue(_:_:_:)",
  "metadataVersion" : "0.1.0",
  "role" : "Function",
  "symbol" : {
    "kind" : "Function",
    "modules" : [
      "Address Book"
    ],
    "preciseIdentifier" : "c:@F@ABMultiValueReplaceValue"
  },
  "title" : "ABMultiValueReplaceValue(_:_:_:)"
}
-->

# ABMultiValueReplaceValue(_:_:_:)

Replaces the value at the given index.

```
func ABMultiValueReplaceValue(_ multiValue: ABMutableMultiValueRef!, _ value: CFTypeRef!, _ index: CFIndex) -> Bool
```

## Parameters

`multiValue`

The multi-value list you wish to modify.

`value`

An object representing the new value in a multi-value list–it must be of the correct type. For example, if `multiValue` is the value for a property of type kABMultiStringProperty, then `value` needs to be a CFString object. See Property Types for a list of supported types in a multi-value list(see descriptions of the `kABMulti...` constants). If `value` is `NULL`, this function raises an exception.

`index`

The index of the entry to be modified. If `index` is out of bounds, this function raises an exception.

## Return Value

`true` ifsuccessfully, `false` otherwise.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)