Inner Drive Extensible Architecture
Inner Drive Extensible Architecture
InnerDrive.Quantitative
Length Structure
Length Methods
ConvertTo Method
ConvertTo(Type) Method
ConvertTo(Unit) Method
Length
Convert
To(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#
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
Exception
Condition
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
Copyright ©2023 Inner Drive Technology
Send comments on this topic to
our issue tracker