GDay.Equals Method (GDay)GDay.Equals Method (GDay)GDay::Equals Method (GDay)

Determines whether this instance is equal to another GDayGDayGDay.

Syntax

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

Parameters

other

Type: XmlPrime.GDayXmlPrime.GDayXmlPrime::GDay

A GDayGDayGDay 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 GDayGDayGDay values are considered equal if they have they have equal values for their DayDayDay and TimeZoneTimeZoneTimeZone properties.

Consider using Equals (GDay, GDay, TimeZone)Equals (GDay, GDay, TimeZone)Equals (GDay, GDay, TimeZone) to compare GDayGDayGDay values with differing TimeZoneTimeZoneTimeZone properties.