GYearMonth.Equals Method (GYearMonth)GYearMonth.Equals Method (GYearMonth)GYearMonth::Equals Method (GYearMonth)
Syntax
Public Function Equals( _ other As GYearMonth _ ) As Boolean
public bool Equals( GYearMonth other )
public: virtual bool Equals( GYearMonth other ) sealed
Parameters
- other
Type: XmlPrime.GYearMonthXmlPrime.GYearMonthXmlPrime::GYearMonth
A GYearMonthGYearMonthGYearMonth 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 GYearMonthGYearMonthGYearMonth values are considered equal if they have they have equal values for their YearYearYear, MonthMonthMonth and TimeZoneTimeZoneTimeZone properties.
Consider using Equals (GYearMonth, GYearMonth, TimeZone)Equals (GYearMonth, GYearMonth, TimeZone)Equals (GYearMonth, GYearMonth, TimeZone) to compare GYearMonthGYearMonthGYearMonth values with differing TimeZoneTimeZoneTimeZone properties.