HKQuery.GetPredicateForObjectsWithDeviceProperty Method

Definition

Returns a predicate that matches objects that have any of the allowed values for the property that is identified by the specified key.

[Foundation.Export("predicateForObjectsWithDeviceProperty:allowedValues:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 9, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public static Foundation.NSPredicate GetPredicateForObjectsWithDeviceProperty (string key, Foundation.NSSet<Foundation.NSString> allowedValues);
static member GetPredicateForObjectsWithDeviceProperty : string * Foundation.NSSet<Foundation.NSString> -> Foundation.NSPredicate

Parameters

key
String
allowedValues
NSSet<NSString>

Returns

Attributes

Applies to