Επεξεργασία

Κοινή χρήση μέσω


DateOnly.LessThanOrEqual(DateOnly, DateOnly) Operator

Definition

Determines whether one specified DateOnly represents a date that is the same as or earlier than another specified DateOnly.

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 is the same as or earlier than right; otherwise, false.

Applies to