Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
Addressbook.multivalue.replaceLabelAtIndex
Replaces the label at the given index.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
Addressbook | 3.1 | ✅ Yes | ❌ No | ❌ No | ❌ No | ✅ Yes |
Deprecated
This function was deprecated. Use Contacts functions instead.
MBS( "Addressbook.multivalue.replaceLabelAtIndex"; index; label ) More
Parameters
Parameter | Description | Example |
---|---|---|
index | The index of the label that will be replaced. | $index |
label | The new label. | $label |
Result
Returns OK on success and error on failure.
Description
Replaces the label at the given index.If the label is empty or if the index is out of bounds, this method returns an error.
See also
- Addressbook.multivalue.identifierAtIndex
- Addressbook.multivalue.labelAtIndex
- Addressbook.multivalue.removeValueAndLabelAtIndex
- Addressbook.multivalue.replaceValueAtIndex
- Addressbook.multivalue.valueAtIndex
This function checks for a license.
Created 18th August 2014, last changed 18th August 2014
Addressbook.multivalue.removeValueAndLabelAtIndex - Addressbook.multivalue.replaceValueAtIndex
