Editar

Compartir a través de


CNContact.GetPredicateForContacts Method

Definition

Overloads

GetPredicateForContacts(CNPhoneNumber)
GetPredicateForContacts(String)

Retrieves a predicate that filters for matchingName.

GetPredicateForContacts(String[])

Retrieves a predicate that will match identifiers with Identifier.

GetPredicateForContacts(CNPhoneNumber)

[Foundation.Export("predicateForContactsMatchingPhoneNumber:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.WatchOS, 4, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 13, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public static Foundation.NSPredicate GetPredicateForContacts (Contacts.CNPhoneNumber phoneNumber);
static member GetPredicateForContacts : Contacts.CNPhoneNumber -> Foundation.NSPredicate

Parameters

phoneNumber
CNPhoneNumber

Returns

Attributes

Applies to

GetPredicateForContacts(String)

Retrieves a predicate that filters for matchingName.

[Foundation.Export("predicateForContactsMatchingName:")]
public static Foundation.NSPredicate GetPredicateForContacts (string matchingName);
static member GetPredicateForContacts : string -> Foundation.NSPredicate

Parameters

matchingName
String

Returns

Attributes

Applies to

GetPredicateForContacts(String[])

Retrieves a predicate that will match identifiers with Identifier.

[Foundation.Export("predicateForContactsWithIdentifiers:")]
public static Foundation.NSPredicate GetPredicateForContacts (string[] identifiers);
static member GetPredicateForContacts : string[] -> Foundation.NSPredicate

Parameters

identifiers
String[]

Returns

Attributes

Applies to