Platforms to show: All Mac Windows Linux Cross-Platform
Back to ABRecordMBS class.
ABRecordMBS.Constructor Private
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Addressbook | MBS MacCocoa Plugin | 13.1 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
ABRecordMBS.removeValueForProperty(propertyName 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 |
Subsequent calls to valueForProperty on the same property will return nil.
Returns true if the value was removed successfully and false on any error.
ABRecordMBS.setValue(value as Variant, propertyName 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 |
Value can be Date, Integer, Double, Dictionary, MultiValueMBS/MutableMultiValueMBS or String.
Returns true if the value was set successfully
See also:
ABRecordMBS.setValue(value as Variant, propertyName as string, byref error as NSErrorMBS) as boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Addressbook | MBS MacCocoa Plugin | 11.2 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
Value can be Date, Integer, Double, Dictionary, MultiValueMBS/MutableMultiValueMBS or String.
Returns true if the value was set successfully
On Mac OS X 10.7 or later, we set the error property on any error.
See also:
ABRecordMBS.valueForProperty(PropertyName as string) as Variant
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Addressbook | MBS MacCocoa Plugin | 7.1 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
The type of the value depends on the property type.
Returns nil on any error.
Tip: Put the result in a variant, so you can see the type in the debugger. Emails for example can be a ABMultiValueMBS object while name is normally a string.
The items on this page are in the following plugins: MBS MacCocoa Plugin.