CNContactStore.EnumerateContacts Method

Definition

Overloads

EnumerateContacts(CNContactFetchRequest, NSError, CNContactStoreEnumerateContactsHandler)
Obsolete.

Applies handler to the contacts returned by fetchRequest.

EnumerateContacts(CNContactFetchRequest, NSError, CNContactStoreListContactsHandler)

Applies handler to the contacts returned by fetchRequest.

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

Returns

Applies to