Click or drag to resize

IConvertibleTConvertTo Method

Converts the instance into a new instance of the same type denominated in the measurement units provided.

Namespace: InnerDrive.Quantitative
Assembly: InnerDrive.Quantitative (in InnerDrive.Quantitative.dll) Version: 5.0.8475.0
Syntax
C#
T ConvertTo(
	Unit target
)

Parameters

target  Unit
The Unit into which you want to convert this instance.

Return Value

T
A member of the Type specified converted to the Unit specified by target.
Exceptions
ExceptionCondition
IncompatibleUnitExceptionThrown if the measurement cannot be converted into target.
ArgumentNullExceptionThrown if target is null.
See Also