Length(Double, Type) Constructor

Creates a new instance of Length with a particular value and Unit whose Type is specified

Definition

Namespace: InnerDrive.Quantitative
Assembly: InnerDrive.Quantitative (in InnerDrive.Quantitative.dll) Version: 5.2.9017.0
C#
public Length(
	double value,
	Type unitType
)

Parameters

value  Double
The value of the Length to use.
unitType  Type
The Type of Unit to use.

Exceptions

IncompatibleUnitExceptionThrown if Length is not the type that the Unit applies to.

See Also