HKUnit.FromGramUnit(HKMetricPrefix) 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 a unit for measuring mass in grams, multiplied by prefix
.
[Foundation.Export("gramUnitWithMetricPrefix:")]
public static HealthKit.HKUnit FromGramUnit (HealthKit.HKMetricPrefix prefix);
static member FromGramUnit : HealthKit.HKMetricPrefix -> HealthKit.HKUnit
Parameters
- prefix
- HKMetricPrefix
Returns
- Attributes