共用方式為


CNGroup_PredicatesExtension.GetPredicateForSubgroupsInGroup 方法

定義

警告

This API is only available on macOS 10.11+.

警告

Use 'CNGroup.CreatePredicateForSubgroupsInGroup' instead.

NSPredicate 會擷取 中 屬性 Identifier 符合 parentGroupIdentifierCNGroup 子群組。

[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

傳回

屬性

適用於