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

实现

适用于