Int32.IComparisonOperators<Int32,Int32,Boolean>.LessThanOrEqual 運算子

定義

比較兩個值,以判斷哪一個值小於或相等。

 static bool System.Numerics.IComparisonOperators<System.Int32,System.Int32,System.Boolean>.operator <=(int left, int right) = System::Numerics::IComparisonOperators<int, int, bool>::op_LessThanOrEqual;
static bool IComparisonOperators<int,int,bool>.operator <= (int left, int right);
static member ( <= ) : int * int -> bool
 Shared Operator <= (left As Integer, right As Integer) As Boolean Implements IComparisonOperators(Of Integer, Integer, Boolean).op_LessThanOrEqual

參數

left
Int32

要與 right 比較的值。

right
Int32

要與 left 比較的值。

傳回

如果 left 小於或等於 right,則為 true;否則為 false

實作

適用於