UInt16.IComparisonOperators<UInt16,UInt16,Boolean>.LessThanOrEqual 操作员

定义

比较两个值以确定哪个值小于或等于。

 static bool System.Numerics.IComparisonOperators<System.UInt16,System.UInt16,System.Boolean>.operator <=(System::UInt16 left, System::UInt16 right) = System::Numerics::IComparisonOperators<System::UInt16, System::UInt16, bool>::op_LessThanOrEqual;
static bool IComparisonOperators<ushort,ushort,bool>.operator <= (ushort left, ushort right);
static member ( <= ) : uint16 * uint16 -> bool
 Shared Operator <= (left As UShort, right As UShort) As Boolean Implements IComparisonOperators(Of UShort, UShort, Boolean).op_LessThanOrEqual

参数

left
UInt16

要与 right进行比较的值。

right
UInt16

要与 left进行比较的值。

返回

如果 left 小于等于 right,则为 true;否则为 false

实现

适用于