Returns a Distance that represents this
Distance converted into the specified unit of measurement.
Namespace: DegreeDays.GeoAssembly: DegreeDays (in DegreeDays.dll) Version: 1.4
Syntax public Distance In(
DistanceUnit unit
)
Public Function In (
unit As DistanceUnit
) As Distance
Parameters
- unit DistanceUnit
- The unit of measurement that the returned
Distance should have.
Return Value
DistanceA
Distance that represents this
Distance converted
into the unit of measurement specified by
unit.
Remarks
For example,
Distance.Metres(1000).In(DistanceUnit.Kilometres) will
return a Distance that is equal to
Distance.Kilometres(1).
See Also