Half.LessThanOrEqual(Half, Half) 操作员
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
public:
static bool operator <=(Half left, Half right);
public:
static bool operator <=(Half left, Half right) = System::Numerics::IComparisonOperators<Half, Half, bool>::op_LessThanOrEqual;
public static bool operator <= (Half left, Half right);
static member ( <= ) : Half * Half -> bool
Public Shared Operator <= (left As Half, right As Half) As Boolean
参数
- left
- Half
要比较的第一个值。
- right
- Half
要比较的第二个值。
返回
如果 left
小于等于 right
,则为 true
;否则为 false
。