Returns a Distance that represents this
Distance converted into the specified unit of measurement.
Namespace:
DegreeDays.Geo
Assembly:
DegreeDays (in DegreeDays.dll) Version: 1.3
Syntaxpublic Distance In(
DistanceUnit unit
)
Public Function In (
unit As DistanceUnit
) As Distance
Parameters
- unit
- Type: DegreeDays.GeoDistanceUnit
The unit of measurement that the returned
Distance should have.
Return Value
Type:
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