共用方式為


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

實作

適用於