TimeOnly.LessThanOrEqual(TimeOnly, TimeOnly) 操作员
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
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
要比较的第一个对象。
- right
- TimeOnly
要比较的第二个对象。
返回
true
如果左等于或早于右;否则为 false
。