Platforms to show: All Mac Windows Linux Cross-Platform
ABPersonMBS class Deprecated
Super class: ABRecordMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
class | Addressbook | MBS MacCocoa Plugin | 7.1 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
This item is deprecated and should no longer be used.
You can use CNContactMBS class instead.
ABPersonMBS is a subclass of ABRecord and represents a person.
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.
- 2 properties
- property image as NSImageMBS
- property imageData as Memoryblock
- 9 methods
- method Constructor
- method Constructor(addressBook as ABAddressBookMBS)
- method Constructor(vCardData as Memoryblock)
- method EditInAddressbook as boolean
- method linkedPeople as ABPersonMBS()
- method parentGroups as ABGroupMBS()
- method setImageData(data as Memoryblock) as boolean
- method ShowInAddressbook as boolean
- method vCardRepresentation as Memoryblock
- 6 shared methods
- shared method addProperty(propertyName as string, type as Integer) as Integer
- shared method properties as string()
- shared method removeProperties(properties() as string) as Integer
- shared method removeProperty(propertyName as string) as Integer
- shared method searchElementForProperty(PropertyName as string, Label as string, Key as string, value as Variant, comparison as Integer) as ABSearchElementMBS
- shared method typeOfProperty(propertyName as string) as Integer
Super class ABRecordMBS
- 7 properties
- property account as ABAccountMBS
- property Addressbook as ABAddressBookMBS
- property Description as string
- property DisplayName as string
- property Handle as Integer
- property isReadOnly as boolean
- property uniqueId as string
- 5 methods
- method Constructor Private
- method removeValueForProperty(propertyName as string) as boolean
- method setValue(value as Variant, propertyName as string) as boolean
- method setValue(value as Variant, propertyName as string, byref error as NSErrorMBS) as boolean
- method valueForProperty(PropertyName as string) as Variant
This class has no sub classes.
Some methods using this class:
- ABAddressBookMBS.NewPersonWithVCardRepresentation(data as memoryblock) as ABPersonMBS
- ABAddressBookMBS.peopleForEmail(email as string) as ABPersonMBS()
- ABAddressBookMBS.personForUniqueId(uniqueid as string, account as ABAccountMBS) as ABPersonMBS
- ABAddressBookMBS.setMe(moi as ABPersonMBS)
- ABGroupMBS.addMember(group as ABPersonMBS) as boolean
- ABPeoplePickerViewMBS.deselectIdentifier(identifier as string, person as ABPersonMBS)
- ABPickerMBS.DeselectPerson(person as ABPersonMBS)
- ABPickerMBS.SelectedIdentifiers(person as ABPersonMBS) as string()
- ABPickerMBS.SelectPerson(person as ABPersonMBS, ExtendSelection as boolean)
- IMServiceMBS.peopleWithScreenName(screenName as string) as ABPersonMBS()
Some properties using for this class:
- ABAddressBookMBS.owner as ABPersonMBS
- ABPersonViewMBS.person as ABPersonMBS
- ABGroupMBS.distributionIdentifierForProperty(propertyName as string, person as ABPersonMBS) as String
Some examples using this class:
- /MacCocoa/Addressbook/Add address to person
- /MacCocoa/Addressbook/Add Vcard to Addressbook
- /MacCocoa/Addressbook/Addressbook Pick one address
- /MacCocoa/Addressbook/Change my name
- /MacCocoa/Addressbook/Edit Distance values
- /MacCocoa/Addressbook/Extract Vcard
- /MacCocoa/Addressbook/List of People with images
- /MacCocoa/Addressbook/Properties of ABPerson
- /MacCocoa/Addressbook/Search Person
- /Util/BugreporterKit/BugReporter
Blog Entries
- Saying goodbye to AddressBook framework
- Using dash if to reduce app size by referencing less plugins
- MBS Real Studio Plugins, version 12.4pr1
- Tipp of the day: Jump to anchor in htmlviewer
The items on this page are in the following plugins: MBS MacCocoa Plugin.
ABPeoplePickerViewMBS - ABPersonViewMBS