GYear.Equals Method (object)GYear.Equals Method (Object)GYear::Equals Method (object^)

Determines whether this instance is equal to a specified object.

Syntax

Public Overrides Function Equals( _
    obj As Object _
) As Boolean
public override bool Equals(
    object obj
)
public:
virtual bool Equals(
    object^ obj
) override
 

Parameters

obj

Type: System.ObjectSystem.ObjectSystem::Object^

An object to compare to this instance.

Return Value

Type: System.BooleanSystem.BooleanSystem::Boolean

trueTruetrue if obj is an instance of GYearGYearGYear and equals the value of this instance; otherwise falseFalsefalse.