편집

다음을 통해 공유


HKUnit.FromGramUnit(HKMetricPrefix) Method

Definition

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

Returns

Attributes

Applies to