CNGroup_PredicatesExtension.GetPredicateForSubgroupsInGroup 方法

定义

注意

This API is only available on macOS 10.11+.

注意

Use 'CNGroup.CreatePredicateForSubgroupsInGroup' instead.

一个 NSPredicate ,它将检索 其Identifier属性与 匹配的parentGroupIdentifier子组CNGroup

[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

参数

This
CNGroup

此方法在其上运行的实例。

parentGroupIdentifier
String

返回

属性

适用于