Bewerken

Delen via


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