Inner Drive Extensible Architecture
C#
Show/Hide TOC
Length
Convert
To(Type) Method
Converts the instance into a new
IMeasurable
instance denominated in the measurement units provided.
Definition
Namespace:
InnerDrive.Quantitative
Assembly:
InnerDrive.Quantitative (in InnerDrive.Quantitative.dll) Version: 5.2.9017.0
C#
Copy
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
IMeasurable
ConvertTo(Type)
Exceptions
ArgumentException
Thrown if
targetType
is not a subclass of
Unit
.
ArgumentNullException
Thrown if
targetType
is
null
.
See Also
Reference
Length Structure
ConvertTo Overload
InnerDrive.Quantitative Namespace
In This Article
Definition
Parameters
Return Value
Implements
Exceptions
See Also