CNContact.GetPredicateForContacts 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
GetPredicateForContacts(CNPhoneNumber) | |
GetPredicateForContacts(String) |
Retrieves a predicate that filters for |
GetPredicateForContacts(String[]) |
Retrieves a predicate that will match |
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