Platforms to show: All Mac Windows Linux Cross-Platform
CNContainerMBS class
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
class | Contacts | MBS Mac64bit Plugin | 16.3 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | Desktop & iOS |
A container has a collection of contacts. A contact can be in only one container. CardDAV accounts usually have only one container whereas Exchange accounts may have multiple containers, where each container represents an Exchange folder
This is an abstract class. You can't create an instance, but you can get one from various plugin functions.
- 4 properties
- property Handle as Integer
- property Identifier as String
- property Name as String
- property Type as Integer
- 2 methods
- method Constructor Private
- method copy as CNContainerMBS
- 7 shared methods
- shared method available as Boolean
- shared method CNContainerIdentifierKey as String
- shared method CNContainerNameKey as String
- shared method CNContainerTypeKey as String
- shared method predicateForContainerOfContactWithIdentifier(contactIdentifier as String) as NSPredicateMBS
- shared method predicateForContainerOfGroupWithIdentifier(groupIdentifier as String) as NSPredicateMBS
- shared method predicateForContainersWithIdentifiers(Identifiers() as String) as NSPredicateMBS
- 4 constants
Container Types
Constant | Value | Description |
---|---|---|
CNContainerTypeCardDAV | 3 |
A container for contacts stored in an CardDAV server, such as iCloud. |
CNContainerTypeExchange | 2 |
A container for contacts stored in an Exchange folder from an Exchange server. |
CNContainerTypeLocal | 1 |
A container for contacts only stored locally on the device. There is only one local container for a device. |
CNContainerTypeUnassigned | 0 |
This class has no sub classes.
Some methods using this class:
- CNContactStoreMBS.containersMatchingPredicate(predicate as NSPredicateMBS, byref error as NSErrorMBS) as CNContainerMBS()
The items on this page are in the following plugins: MBS Mac64bit Plugin.
CNContactViewControllerMBS - CNFetchResultMBS