Platforms to show: All Mac Windows Linux Cross-Platform
Back to ABMutableMultiValueMBS class.
ABMutableMultiValueMBS.addValue(value as Variant, label as string) as string
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Addressbook | MBS MacCocoa Plugin | 7.1 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
Returns the identifier if successful, "" otherwise.
Note: No type checking is made when adding a value. But trying to set a multivalue property with a multivalue that doesn't have all its values of the same type will return an error.
Supported types: Date, Integer, String, Dictionary.
ABMutableMultiValueMBS.Constructor
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Addressbook | MBS MacCocoa Plugin | 7.1 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
ABMutableMultiValueMBS.insertValue(value as Variant, label as string, index as UInt32) as string
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Addressbook | MBS MacCocoa Plugin | 7.1 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
Returns the identifier if successful. "" otherwise
Note: No type checking is made when adding a value. But trying to set a multivalue property with a multivalue that doesn't have all its values of the same type will return an error
Index is zero based.
ABMutableMultiValueMBS.removeValueAndLabelAtIndex(index as UInt32) as boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Addressbook | MBS MacCocoa Plugin | 7.1 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
Returns true if successful.
Index is zero based.
ABMutableMultiValueMBS.replaceLabelAtIndex(index as UInt32, label as string) as boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Addressbook | MBS MacCocoa Plugin | 7.1 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
Index is zero based.
Returns true on success.
ABMutableMultiValueMBS.replaceValueAtIndex(index as UInt32, value as Variant) as boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Addressbook | MBS MacCocoa Plugin | 7.1 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
Index is zero based.
Returns true on success.
ABMutableMultiValueMBS.setPrimaryIdentifier(identifier as string) as boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Addressbook | MBS MacCocoa Plugin | 7.1 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
Returns true if successful.
Some examples using this method:
The items on this page are in the following plugins: MBS MacCocoa Plugin.