UInt16.IComparisonOperators<UInt16,UInt16,Boolean>.LessThan 運算子

定義

比較兩個值,以判斷哪一個值較少。

 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_LessThan;
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_LessThan

參數

left
UInt16

要與 right 比較的值。

right
UInt16

要與 left 比較的值。

傳回

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

實作

適用於