Xojo Developer Conference
25/27th April 2018 in Denver.
MBS Xojo Conference
6/7th September 2018 in Munich, Germany.

Platforms to show: All Mac Windows Linux Cross-Platform

ABPersonMBS class

Super class: ABRecordMBS

Type Topic Plugin Version macOS Windows Linux Console & Web iOS
class Addressbook MBS MacCocoa Plugin 7.1 Yes No No Yes, macOS only No
Function: ABPersonMBS is a subclass of ABRecord and represents a person.
dim a as new ABAddressBookMBS // get addressbook
dim p as ABPersonMBS = a.owner // and find me

// read note
MsgBox p.valueForProperty(a.kABNoteProperty).StringValue

// write note
if p.setValue("Hello World", a.kABNoteProperty) then
if a.save then
MsgBox "Changed."
end if
end if
All methods in this class will catch exceptions from Cocoa and raise a NSExceptionMBS instead. Using the message, name and reason properties you can see what was the reason for this exception. Please report if you find a method which does not handle exceptions correct.
Subclass of the ABRecordMBS class.

Feedback, Comments & Corrections

Super class ABRecordMBS

This class has no sub classes.

Some methods using this class:

Some properties using for this class:

Some examples which use this class:

The items on this page are in the following plugins: MBS MacCocoa Plugin.

ABPeoplePickerViewMBS   -   ABPersonViewMBS

MBS Xojo blog