TimeOnly.LessThanOrEqual(TimeOnly, TimeOnly) Operator
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.
public:
static bool operator <=(TimeOnly left, TimeOnly right);
public static bool operator <= (TimeOnly left, TimeOnly right);
static member ( <= ) : TimeOnly * TimeOnly -> bool
Public Shared Operator <= (left As TimeOnly, right As TimeOnly) As Boolean
- left
- TimeOnly
The first object to compare.
- right
- TimeOnly
The second object to compare.
true
if left is the same as or earlier than right; otherwise, false
.
Product | Versions |
---|---|
.NET | 6, 7, 8, 9 |
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
.NET feedback
.NET is an open source project. Select a link to provide feedback: