TimeWithZone.Equals Method (TimeWithZone)TimeWithZone.Equals Method (TimeWithZone)TimeWithZone::Equals Method (TimeWithZone)
Syntax
Public Function Equals( _ other As TimeWithZone _ ) As Boolean
public bool Equals( TimeWithZone other )
public: virtual bool Equals( TimeWithZone other ) sealed
Parameters
- other
Type: XmlPrime.TimeWithZoneXmlPrime.TimeWithZoneXmlPrime::TimeWithZone
A TimeWithZoneTimeWithZoneTimeWithZone to compare with this object.
Return Value
Type: System.BooleanSystem.BooleanSystem::Boolean
true
True
true
if other 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.
Consider using Equals (TimeWithZone, TimeWithZone, TimeZone)Equals (TimeWithZone, TimeWithZone, TimeZone)Equals (TimeWithZone, TimeWithZone, TimeZone) to compare TimeWithZoneTimeWithZoneTimeWithZone values with differing TimeZoneTimeZoneTimeZone properties.