CNContactStore.EnumerateContacts Method

Definition

Overloads

EnumerateContacts(CNContactFetchRequest, NSError, CNContactStoreEnumerateContactsHandler)

Applies handler to the contacts returned by fetchRequest.

EnumerateContacts(CNContactFetchRequest, NSError, CNContactStoreListContactsHandler)

Applies handler to the contacts returned by fetchRequest.

EnumerateContacts(CNContactFetchRequest, NSError, CNContactStoreEnumerateContactsHandler)

Warning

This API is now obsolete.

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

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

Returns

Applies to