Temperature.ConvertTo(Unit) Method

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

Definition

Namespace: InnerDrive.Quantitative
Assembly: InnerDrive.Quantitative (in InnerDrive.Quantitative.dll) Version: 5.2.9017.0
C#
public Temperature ConvertTo(
	Unit target
)

Parameters

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

Return Value

Temperature
A member of the Type specified converted to the Unit specified by target.

Implements

IConvertible<T>.ConvertTo(Unit)

Exceptions

IncompatibleUnitExceptionThrown if the measurement cannot be converted into target.
ArgumentNullExceptionThrown if target is null.

See Also