static public method Distance.NameToUnit

Brief

Returns the unit of measure by its name.

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

back