Share via


Date.Equality(Date, Date) Operator

Definition

Determines whether two specified instances of Date are equal.

public static bool operator == (Microsoft.OData.Edm.Date firstOperand, Microsoft.OData.Edm.Date secondOperand);
static member ( = ) : Microsoft.OData.Edm.Date * Microsoft.OData.Edm.Date -> bool
Public Shared Operator == (firstOperand As Date, secondOperand As Date) As Boolean

Parameters

firstOperand
Date

The first object to compare.

secondOperand
Date

The second object to compare.

Returns

true if firstOperand and secondOperand represent the same date; otherwise, false.

Applies to