<!--
{
  "availability" : [
    "iOS: 2.0.0 - 9.0.0",
    "iPadOS: 2.0.0 - 9.0.0",
    "macCatalyst: 13.1.0 - 13.1.0"
  ],
  "documentType" : "symbol",
  "framework" : "AddressBook",
  "identifier" : "/documentation/AddressBook/ABMultiValueInsertValueAndLabelAtIndex(_:_:_:_:_:)",
  "metadataVersion" : "0.1.0",
  "role" : "Function",
  "symbol" : {
    "kind" : "Function",
    "modules" : [
      "Address Book"
    ],
    "preciseIdentifier" : "c:@F@ABMultiValueInsertValueAndLabelAtIndex"
  },
  "title" : "ABMultiValueInsertValueAndLabelAtIndex(_:_:_:_:_:)"
}
-->

# ABMultiValueInsertValueAndLabelAtIndex(_:_:_:_:_:)

Inserts a value and a label into a multivalue property.

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

## Parameters

`multiValue`

The multivalue property into which to insert `value`.

`value`

The value to insert.

`label`

The label to insert.

`index`

The location, in `multiValue`, at which to insert `value` and `label`.

    Raises an exception when out of bounds.

`outIdentifier`

On output, the identifier of the added value.

## Return Value

`true` when value and label are inserted successfully into multiValue, `false` otherwise.

## Discussion

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

This function takes an index. If you have an identifier, use the [`ABMultiValueGetIndexForIdentifier(_:_:)`](/documentation/AddressBook/ABMultiValueGetIndexForIdentifier(_:_:)) function to get the corresponding index.

---

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)