共用方式為


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

實作

適用於