CNContactStore.EnumerateContacts Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
EnumerateContacts(CNContactFetchRequest, NSError, CNContactStoreEnumerateContactsHandler) |
Obsolete.
Applies |
EnumerateContacts(CNContactFetchRequest, NSError, CNContactStoreListContactsHandler) |
Applies |
EnumerateContacts(CNContactFetchRequest, NSError, CNContactStoreEnumerateContactsHandler)
Caution
Use the overload that takes 'CNContactStoreListContactsHandler' instead.
Applies handler
to the contacts returned by fetchRequest
.
[Foundation.Export("enumerateContactsWithFetchRequest:error:usingBlock:")]
[System.Obsolete("Use the overload that takes 'CNContactStoreListContactsHandler' instead.", false)]
public virtual bool EnumerateContacts (Contacts.CNContactFetchRequest fetchRequest, out Foundation.NSError error, Contacts.CNContactStoreEnumerateContactsHandler handler);
abstract member EnumerateContacts : Contacts.CNContactFetchRequest * * Contacts.CNContactStoreEnumerateContactsHandler -> bool
override this.EnumerateContacts : Contacts.CNContactFetchRequest * * Contacts.CNContactStoreEnumerateContactsHandler -> bool
Parameters
- fetchRequest
- CNContactFetchRequest
- error
- NSError
Returns
- Attributes
Applies to
EnumerateContacts(CNContactFetchRequest, NSError, CNContactStoreListContactsHandler)
Applies handler
to the contacts returned by fetchRequest
.
public bool EnumerateContacts (Contacts.CNContactFetchRequest fetchRequest, out Foundation.NSError error, Contacts.CNContactStoreListContactsHandler handler);
member this.EnumerateContacts : Contacts.CNContactFetchRequest * * Contacts.CNContactStoreListContactsHandler -> bool
Parameters
- fetchRequest
- CNContactFetchRequest
- error
- NSError