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
Работете съвместно с нас в GitHub
Източникът за това съдържание може да бъде намерен в GitHub, където можете също да създавате и преглеждате проблеми и да изтегляте искания. За повече информация вижте нашето ръководство за сътрудник.