Bewerken

Delen via


HKUnit.CreateMoleUnit Method

Definition

Overloads

CreateMoleUnit(Double)

Creates a unit for measuring quantities in moles.

CreateMoleUnit(HKMetricPrefix, Double)

Creates a unit for measuring quantities in moles, multiplied by the specified prefix.

CreateMoleUnit(Double)

Creates a unit for measuring quantities in moles.

[Foundation.Export("moleUnitWithMolarMass:")]
public static HealthKit.HKUnit CreateMoleUnit (double gramsPerMole);
static member CreateMoleUnit : double -> HealthKit.HKUnit

Parameters

gramsPerMole
Double

Returns

Attributes

Applies to

CreateMoleUnit(HKMetricPrefix, Double)

Creates a unit for measuring quantities in moles, multiplied by the specified prefix.

[Foundation.Export("moleUnitWithMetricPrefix:molarMass:")]
public static HealthKit.HKUnit CreateMoleUnit (HealthKit.HKMetricPrefix prefix, double gramsPerMole);
static member CreateMoleUnit : HealthKit.HKMetricPrefix * double -> HealthKit.HKUnit

Parameters

gramsPerMole
Double

Returns

Attributes

Applies to