Addressbook.multivalue.labelAtIndex
Returns the label for 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.labelAtIndex"; index )
More
MBS(
"Addressbook.multivalue.labelAtIndex"; /* Returns the label for the given index. */
$index) /* The index for the label to be returned. */
Less
Parameters
Parameter |
Description |
Example |
index |
The index for the label to be returned. |
$index |
Result
Returns label text or error.
Description
Returns the label for the given index.
If the index argument is out of bounds, this method returns an error.
Possible labels are:
kABHomePageLabel, kABEmailWorkLabel, kABEmailHomeLabel, kABAddressHomeLabel, kABAddressWorkLabel, kABAnniversaryLabel, kABFatherLabel, kABMotherLabel, kABParentLabel, kABBrotherLabel, kABSisterLabel, kABChildLabel, kABFriendLabel, kABSpouseLabel, kABPartnerLabel, kABAssistantLabel, kABManagerLabel, kABPhoneWorkLabel, kABPhoneHomeLabel, kABPhoneiPhoneLabel, kABPhoneMobileLabel, kABPhoneMainLabel, kABPhoneHomeFAXLabel, kABPhoneWorkFAXLabel, kABPhonePagerLabel, kABAIMWorkLabel, kABAIMHomeLabel, kABJabberWorkLabel, kABJabberHomeLabel, kABMSNWorkLabel, kABMSNHomeLabel, kABYahooWorkLabel, kABYahooHomeLabel, kABICQWorkLabel, kABICQHomeLabel, kABWorkLabel, kABHomeLabel, kABOtherLabel or kABMobileMeLabel.
See also
Blog Entries
This function checks for a license.
Created 18th August 2014, last changed 18th August 2014
Addressbook.multivalue.insertValue
-
Addressbook.multivalue.labelForIdentifier