static public method Weight.NameToUnit

Brief

Returns the unit of measure by its name.

Declaration
C#
Weight.Unit  NameToUnit (string name)

Parameters
name

The name of the unit of measure.

Details

The method throws ArgumentException if the name is unknown.

Declared in Weight

back