HKCorrelation.Create 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 |
|---|---|
| Create(HKCorrelationType, NSDate, NSDate, NSSet) | |
| Create(HKCorrelationType, NSDate, NSDate, NSSet, NSDictionary) | |
| Create(HKCorrelationType, NSDate, NSDate, NSSet, HKMetadata) |
Creates a correlation between |
| Create(HKCorrelationType, NSDate, NSDate, NSSet<HKSample>, HKDevice, NSDictionary<NSString,NSObject>) |
Create(HKCorrelationType, NSDate, NSDate, NSSet)
[Foundation.Export("correlationWithType:startDate:endDate:objects:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static HealthKit.HKCorrelation Create(HealthKit.HKCorrelationType correlationType, Foundation.NSDate startDate, Foundation.NSDate endDate, Foundation.NSSet objects);
[<Foundation.Export("correlationWithType:startDate:endDate:objects:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member Create : HealthKit.HKCorrelationType * Foundation.NSDate * Foundation.NSDate * Foundation.NSSet -> HealthKit.HKCorrelation
Parameters
- correlationType
- HKCorrelationType
- startDate
- NSDate
- endDate
- NSDate
- objects
- NSSet
Returns
- Attributes
Applies to
Create(HKCorrelationType, NSDate, NSDate, NSSet, NSDictionary)
[Foundation.Export("correlationWithType:startDate:endDate:objects:metadata:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static HealthKit.HKCorrelation Create(HealthKit.HKCorrelationType correlationType, Foundation.NSDate startDate, Foundation.NSDate endDate, Foundation.NSSet objects, Foundation.NSDictionary? metadata);
[<Foundation.Export("correlationWithType:startDate:endDate:objects:metadata:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member Create : HealthKit.HKCorrelationType * Foundation.NSDate * Foundation.NSDate * Foundation.NSSet * Foundation.NSDictionary -> HealthKit.HKCorrelation
Parameters
- correlationType
- HKCorrelationType
- startDate
- NSDate
- endDate
- NSDate
- objects
- NSSet
- metadata
- NSDictionary
Returns
- Attributes
Applies to
Create(HKCorrelationType, NSDate, NSDate, NSSet, HKMetadata)
Creates a correlation between objects for the supplied date range.
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static HealthKit.HKCorrelation Create(HealthKit.HKCorrelationType correlationType, Foundation.NSDate startDate, Foundation.NSDate endDate, Foundation.NSSet objects, HealthKit.HKMetadata metadata);
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member Create : HealthKit.HKCorrelationType * Foundation.NSDate * Foundation.NSDate * Foundation.NSSet * HealthKit.HKMetadata -> HealthKit.HKCorrelation
Parameters
- correlationType
- HKCorrelationType
- startDate
- NSDate
- endDate
- NSDate
- objects
- NSSet
- metadata
- HKMetadata
Returns
- Attributes
Applies to
Create(HKCorrelationType, NSDate, NSDate, NSSet<HKSample>, HKDevice, NSDictionary<NSString,NSObject>)
[Foundation.Export("correlationWithType:startDate:endDate:objects:device:metadata:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static HealthKit.HKCorrelation Create(HealthKit.HKCorrelationType correlationType, Foundation.NSDate startDate, Foundation.NSDate endDate, Foundation.NSSet<HealthKit.HKSample> objects, HealthKit.HKDevice? device, Foundation.NSDictionary<Foundation.NSString,Foundation.NSObject>? metadata);
[<Foundation.Export("correlationWithType:startDate:endDate:objects:device:metadata:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member Create : HealthKit.HKCorrelationType * Foundation.NSDate * Foundation.NSDate * Foundation.NSSet<HealthKit.HKSample> * HealthKit.HKDevice * Foundation.NSDictionary<Foundation.NSString, Foundation.NSObject> -> HealthKit.HKCorrelation
Parameters
- correlationType
- HKCorrelationType
- startDate
- NSDate
- endDate
- NSDate
- device
- HKDevice
- metadata
- NSDictionary<NSString,NSObject>
Returns
- Attributes