Constructs a new Distance with the specified value
and unit of measurement.
Namespace:
DegreeDays.Geo
Assembly:
DegreeDays (in DegreeDays.dll) Version: 1.3
Syntaxpublic Distance(
double value,
DistanceUnit unit
)
Public Sub New (
value As Double,
unit As DistanceUnit
)
Parameters
- value
- Type: SystemDouble
The numeric distance (e.g. to create a Distance
object representing 20 miles, value should be
20). - unit
- Type: DegreeDays.GeoDistanceUnit
The unit of measurement (e.g.
Miles).
Exceptions
See Also