CNGroup_PredicatesExtension.GetPredicateForSubgroupsInGroup Method

Definition

Caution

This API is only available on macOS 10.11+.

Caution

Use 'CNGroup.CreatePredicateForSubgroupsInGroup' instead.

A NSPredicate that will retrieve the subgroups in the CNGroup whose Identifier property matches parentGroupIdentifier.

[System.Obsolete("This API is only available on macOS 10.11+.")]
public static Foundation.NSPredicate GetPredicateForSubgroupsInGroup (this Contacts.CNGroup This, string parentGroupIdentifier);
[Foundation.Export("predicateForSubgroupsInGroupWithIdentifier:")]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.iOS, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
[System.Obsolete("Use 'CNGroup.CreatePredicateForSubgroupsInGroup' instead.", false)]
public static Foundation.NSPredicate GetPredicateForSubgroupsInGroup (this Contacts.CNGroup This, string parentGroupIdentifier);
static member GetPredicateForSubgroupsInGroup : Contacts.CNGroup * string -> Foundation.NSPredicate

Parameters

This
CNGroup

The instance on which this method operates.

parentGroupIdentifier
String

Returns

Attributes

Applies to