Edit

Share via


CNContainer_PredicatesExtension.GetPredicateForContainerOfContact Method

Definition

Caution

Use 'CNContainer.CreatePredicateForContainerOfContact' instead.

Retrieves an NSPredicate appropriate for retrieving the CNContainer containing the CNContact with the identifier contactIdentifier.

[Foundation.Export("predicateForContainerOfContactWithIdentifier:")]
[System.Obsolete("Use 'CNContainer.CreatePredicateForContainerOfContact' instead.", false)]
public static Foundation.NSPredicate GetPredicateForContainerOfContact (this Contacts.CNContainer This, string contactIdentifier);
static member GetPredicateForContainerOfContact : Contacts.CNContainer * string -> Foundation.NSPredicate

Parameters

This
CNContainer

The instance on which this method operates.

contactIdentifier
String

Returns

Attributes

Applies to