Share via


Date.Equals Method

Definition

Overloads

Equals(Date)

Compares the value of this instance to a specified Date value and returns an bool that indicates whether this instance is same as the specified Date value.

Equals(Object)

Compares the value of this instance to a specified object value and returns an bool that indicates whether the specified object is Date and this instance is same as the specified Date value.

Equals(Date)

Compares the value of this instance to a specified Date value and returns an bool that indicates whether this instance is same as the specified Date value.

public bool Equals (Microsoft.OData.Edm.Date other);
override this.Equals : Microsoft.OData.Edm.Date -> bool
Public Function Equals (other As Date) As Boolean

Parameters

other
Date

The object to compare to the current instance

Returns

True for equal, false for non-equal.

Implements

Applies to

Equals(Object)

Compares the value of this instance to a specified object value and returns an bool that indicates whether the specified object is Date and this instance is same as the specified Date value.

public override bool Equals (object obj);
override this.Equals : obj -> bool
Public Overrides Function Equals (obj As Object) As Boolean

Parameters

obj
Object

The object to compare to the current instance

Returns

True for equal, false for non-equal.

Applies to