HKQuantity.FromQuantity(HKUnit, Double) 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.
Creates and returns a quantity of dimension unit
and magnitude value
.
[Foundation.Export("quantityWithUnit:doubleValue:")]
public static HealthKit.HKQuantity FromQuantity (HealthKit.HKUnit unit, double value);
static member FromQuantity : HealthKit.HKUnit * double -> HealthKit.HKQuantity
Parameters
- unit
- HKUnit
- value
- Double
Returns
- Attributes