UInt16.IComparisonOperators<UInt16,UInt16,Boolean>.GreaterThan 运算符

定义

比较两个值以确定哪个值更大。

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

参数

left
UInt16

要与 right进行比较的值。

right
UInt16

要与 left进行比较的值。

返回

如果 true 大于 left,则为 right;否则为 false

实现

适用于