Platforms to show: All Mac Windows Linux Cross-Platform
CNContactFetchRequestMBS class
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
class | Contacts | MBS Mac64bit Plugin | 16.3 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | Desktop & iOS |
The CNContactFetchRequest class defines fetching options to use while fetching contacts. It is required to have contact property key(s) to fetch a contact’s properties. Use this class with the enumerateContactsWithFetchRequest method to execute the contact fetch request.
- 5 properties
- property Handle as Integer
- property mutableObjects as Boolean
- property predicate as NSPredicateMBS
- property SortOrder as Integer
- property unifyResults as Boolean
- 4 methods
- method Constructor
- method Constructor(keysToFetch() as CNKeyDescriptorMBS)
- method keysToFetch as CNKeyDescriptorMBS()
- method setKeysToFetch(keysToFetch() as CNKeyDescriptorMBS)
- shared method available as Boolean
Sub classes:
Some methods using this class:
- CNContactStoreMBS.ContactsWithFetchRequest(fetchRequest as CNContactFetchRequestMBS, byref error as NSErrorMBS) as CNContactMBS()
- CNContactStoreMBS.enumerateContactsWithFetchRequest(fetchRequest as CNContactFetchRequestMBS, byref error as NSErrorMBS, tag as Variant = nil) as Boolean
- CNContactStoreMBS.enumeratorForContactFetchRequest(request as CNContactFetchRequestMBS, byref error as NSErrorMBS) as CNFetchResultMBS
Some examples using this class:
Blog Entries
Release notes
- Version 18.4
- Added more convenience functions for Contacts classes: allContacts, AllFetchKeys, unifiedContactsMatchingPredicate, unifiedContactWithIdentifier, unifiedMeContact for CNContactStoreMBS class and new CNContactFetchRequestMBS constructor.
The items on this page are in the following plugins: MBS Mac64bit Plugin.
CNChangeHistoryUpdateGroupEventMBS - CNContactFormatterMBS