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 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:

Blog Entries

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

ABPeoplePickerViewMBS   -   ABPersonViewMBS

The biggest plugin in space...

MBS Xojo Chart Plugins