GMonth.Equals Method (GMonth)GMonth.Equals Method (GMonth)GMonth::Equals Method (GMonth)

Determines whether this instance is equal to another GMonthGMonthGMonth.

Syntax

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

Parameters

other

Type: XmlPrime.GMonthXmlPrime.GMonthXmlPrime::GMonth

A GMonthGMonthGMonth to compare with this object.

Return Value

Type: System.BooleanSystem.BooleanSystem::Boolean

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

Remarks

Two GMonthGMonthGMonth values are considered equal if they have they have equal values for their MonthMonthMonth and TimeZoneTimeZoneTimeZone properties.

Consider using Equals (GMonth, GMonth, TimeZone)Equals (GMonth, GMonth, TimeZone)Equals (GMonth, GMonth, TimeZone) to compare GMonthGMonthGMonth values with differing TimeZoneTimeZoneTimeZone properties.