DistanceEquals(Object) Method |
Returns true if obj is a Distance
with an equal unit and an equal value.
Namespace: DegreeDays.GeoAssembly: DegreeDays (in DegreeDays.dll) Version: 1.4
Syntax public override bool Equals(
Object obj
)
Public Overrides Function Equals (
obj As Object
) As Boolean
Parameters
- obj Object
- The object to compare with this instance.
Return Value
Booleantrue if
obj is equal to this instance;
false otherwise.
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