Click or drag to resize

PressureConvertTo(Type) Method

Converts the instance into a new IMeasurable instance denominated in the measurement units provided.

Namespace: InnerDrive.Quantitative
Assembly: InnerDrive.Quantitative (in InnerDrive.Quantitative.dll) Version: 5.0.8475.0
Syntax
C#
public IMeasurable ConvertTo(
	Type targetType
)

Parameters

targetType  Type
The Type into which you want to convert this IMeasurable object.

Return Value

IMeasurable
An IMeasurable value denominated in the type of Unit specified by targetType.

Implements

IMeasurableConvertTo(Type)
Exceptions
ExceptionCondition
ArgumentExceptionThrown if targetType is not a subclass of Unit.
ArgumentNullExceptionThrown if targetType is null.
See Also