GMonthDay.Equals Method (GMonthDay)GMonthDay.Equals Method (GMonthDay)GMonthDay::Equals Method (GMonthDay)

Indicates whether this instance is equal to another GMonthDayGMonthDayGMonthDay.

Syntax

Public Function Equals( _
    other As GMonthDay _
) As Boolean
public bool Equals(
    GMonthDay other
)
public:
virtual bool Equals(
    GMonthDay other
) sealed
 

Return Value

Type: System.BooleanSystem.BooleanSystem::Boolean

trueTruetrue if other equals the value of this instance; otherwise, falseFalsefalse.

Remarks

Two GMonthDayGMonthDayGMonthDay values are considered equal if they have they have equal values for their MonthMonthMonth, DayDayDay and TimeZoneTimeZoneTimeZone properties.

Consider using Equals (GMonthDay, GMonthDay, TimeZone)Equals (GMonthDay, GMonthDay, TimeZone)Equals (GMonthDay, GMonthDay, TimeZone) to compare GMonthDayGMonthDayGMonthDay values with differing TimeZoneTimeZoneTimeZone properties.