HKQuery.GetPredicateForCategorySamples 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.
Overloads
| Name | Description |
|---|---|
| GetPredicateForCategorySamples(NSSet<NSNumber>) | |
| GetPredicateForCategorySamples(NSPredicateOperatorType, IntPtr) |
Creates and returns a predicate that can be used to check the value of a category sample. |
GetPredicateForCategorySamples(NSSet<NSNumber>)
[Foundation.Export("predicateForCategorySamplesEqualToValues:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static Foundation.NSPredicate GetPredicateForCategorySamples(Foundation.NSSet<Foundation.NSNumber> values);
[<Foundation.Export("predicateForCategorySamplesEqualToValues:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member GetPredicateForCategorySamples : Foundation.NSSet<Foundation.NSNumber> -> Foundation.NSPredicate
Parameters
Returns
- Attributes
Applies to
GetPredicateForCategorySamples(NSPredicateOperatorType, IntPtr)
Creates and returns a predicate that can be used to check the value of a category sample.
[Foundation.Export("predicateForCategorySamplesWithOperatorType:value:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static Foundation.NSPredicate GetPredicateForCategorySamples(Foundation.NSPredicateOperatorType operatorType, IntPtr value);
[<Foundation.Export("predicateForCategorySamplesWithOperatorType:value:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member GetPredicateForCategorySamples : Foundation.NSPredicateOperatorType * nativeint -> Foundation.NSPredicate
Parameters
- operatorType
- NSPredicateOperatorType
- value
-
IntPtr
nativeint
Returns
- Attributes