HKQuery.GetPredicateForObjectsWithDeviceProperty Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Returns
- Attributes