TimeWithZone.Equals Method (object)TimeWithZone.Equals Method (Object)TimeWithZone::Equals Method (object^)
Determines whether this instance is equal to a specified object.
Parameters
- obj
Type: System.ObjectSystem.ObjectSystem::Object^
An object to compare to this instance.
Return Value
Type: System.BooleanSystem.BooleanSystem::Boolean
true
True
true
if obj is an instance of TimeWithZoneTimeWithZoneTimeWithZone
and equals the value of this instance; otherwise false
False
false
.
Remarks
Two TimeWithZoneTimeWithZoneTimeWithZone values are considered equal if they have they have equal values for their SecondsPastMidnightSecondsPastMidnightSecondsPastMidnight and TimeZoneTimeZoneTimeZone properties.