Addressbook.multivalue.removeValueAndLabelAtIndex
-------------------------------------------------

Removes the value and label at the given index.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [Addressbook](component_Addressbook.md) | [3.1](newinversion31.md) | ✅ Yes | ❌ No | ❌ No | ❌ No | ✅ Yes |

### Deprecated

This function was [deprecated](deprecated.md). Use [Contacts](component_Contacts.md) functions instead.

MBS( "Addressbook.multivalue.removeValueAndLabelAtIndex"; Index ) 

**MBS**( **"Addressbook.multivalue.removeValueAndLabelAtIndex";** /\* Removes the value and label at the given index. \*/  
**$Index**) /\* The index of the value-label pair that will be removed. \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| Index | The index of the value-label pair that will be removed. | $index |

### Result

Returns OK on success or error on failure.

### Description

Removes the value and label at the given index.  
If the index is out of bounds, this method returns an error.  
### See also

- [Addressbook.multivalue.replaceLabelAtIndex](AddressbookmultivaluereplaceLabelAtIndex.md)
- [Addressbook.multivalue.replaceValueAtIndex](AddressbookmultivaluereplaceValueAtIndex.md)

This function checks for a license.

Created 18th August 2014 , last changed 18th August 2014

  
[Addressbook.multivalue.primaryIdentifier](AddressbookmultivalueprimaryIdentifier.md) - [Addressbook.multivalue.replaceLabelAtIndex](AddressbookmultivaluereplaceLabelAtIndex.md)

[HTML Version](AddressbookmultivalueremoveValueAndLabelAtIndex.shtml)