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.3
Syntax
public Distance In(
	DistanceUnit unit
)

Parameters

unit
Type: DegreeDays.GeoDistanceUnit
The unit of measurement that the returned Distance should have.

Return Value

Type: 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