DateOnly.Equality(DateOnly, DateOnly) Operator
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Determines whether two specified instances of DateOnly are equal.
public:
static bool operator ==(DateOnly left, DateOnly right);
public static bool operator == (DateOnly left, DateOnly right);
static member ( = ) : DateOnly * DateOnly -> bool
Public Shared Operator == (left As DateOnly, right As DateOnly) As Boolean
Parameters
- left
- DateOnly
The first object to compare.
- right
- DateOnly
The second object to compare.
Returns
true
if left and right represent the same date; otherwise, false
.
Applies to
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.