static public method Energy.NameToUnit

Brief

Returns the unit of measure by its name.

Declaration
C#
Energy.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 Energy

back