Click or drag to resize

DistanceIn Method

Returns a Distance that represents this Distance converted into the specified unit of measurement.

Namespace: DegreeDays.Geo
Assembly: DegreeDays (in DegreeDays.dll) Version: 1.4
Syntax
public Distance In(
	DistanceUnit unit
)

Parameters

unit  DistanceUnit
The unit of measurement that the returned Distance should have.

Return Value

Distance
A 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