Platforms to show: All Mac Windows Linux Cross-Platform
ABGroupMBS 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 CNGroupMBS class instead.
ABGroup is a subclass of ABRecord.
It represents a group of people or other groups. No recursions allowed.
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.
- property distributionIdentifierForProperty(propertyName as string, person as ABPersonMBS) as String
- 9 methods
- method addMember(group as ABPersonMBS) as boolean
- method addSubgroup(group as ABGroupMBS) as boolean
- method Constructor
- method Constructor(addressBook as ABAddressBookMBS)
- method members as ABPersonMBS()
- method parentGroups as ABGroupMBS()
- method removeMember(group as ABPersonMBS) as boolean
- method removeSubgroup(group as ABGroupMBS) as boolean
- method subgroups as ABGroupMBS()
- 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.groupForName(name as string) as ABGroupMBS
- ABAddressBookMBS.groupForUniqueId(uniqueid as string) as ABGroupMBS
- ABAddressBookMBS.groups as ABGroupMBS()
- ABAddressBookMBS.groupsForAccount(account as ABAccountMBS) as ABGroupMBS()
- ABPeoplePickerViewMBS.deselectGroup(group as ABGroupMBS)
- ABPeoplePickerViewMBS.selectedGroups as ABGroupMBS()
- ABPeoplePickerViewMBS.selectGroup(group as ABGroupMBS, byExtendingSelection as boolean)
- ABPersonMBS.parentGroups as ABGroupMBS()
- ABPickerMBS.DeselectGroup(group as ABGroupMBS)
- ABPickerMBS.SelectGroup(group as ABGroupMBS, ExtendSelection as boolean)
Some examples using this class:
- /MacCocoa/Addressbook/Addressbook Notifications
- /MacCocoa/Addressbook/Group members
- /MacCocoa/Addressbook/GroupsForAccounts Test
- /MacControls/PeoplePickerView
- /MacFrameworks/Addressbook People Picker
Blog Entries
- Saying goodbye to AddressBook framework
- MBS Real Studio Plugins, version 12.4pr1
- Addressbook classes updated
The items on this page are in the following plugins: MBS MacCocoa Plugin.
ABAddressBookMBS - ABMultiValueMBS