DistanceEquals(Distance) Method |
Returns true if other has an equal unit and an equal
value.
Namespace: DegreeDays.GeoAssembly: DegreeDays (in DegreeDays.dll) Version: 1.4
Syntax public bool Equals(
Distance other
)
Public Function Equals (
other As Distance
) As Boolean
Parameters
- other Distance
- The instance to compare with this instance.
Return Value
Booleantrue if
other is equal to this instance;
false otherwise.
Implements
IEquatableTEquals(T)Remarks
This method will never do any conversions between units. So, for example,
Distance.Kilometres(1).Equals(Distance.Metres(1000)) will
give a value of false.
See Also