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

定义

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

 static bool System.Numerics.IComparisonOperators<System.Int16,System.Int16,System.Boolean>.operator <=(short left, short right) = System::Numerics::IComparisonOperators<short, short, bool>::op_LessThanOrEqual;
static bool IComparisonOperators<short,short,bool>.operator <= (short left, short right);
static member ( <= ) : int16 * int16 -> bool
 Shared Operator <= (left As Short, right As Short) As Boolean Implements IComparisonOperators(Of Short, Short, Boolean).op_LessThanOrEqual

参数

left
Int16

要与 right进行比较的值。

right
Int16

要与 left进行比较的值。

返回

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

实现

适用于