IntPtr.IComparisonOperators<IntPtr,IntPtr,Boolean>.GreaterThan 操作员

定义

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

 static bool System.Numerics.IComparisonOperators<nint,nint,System.Boolean>.operator >(IntPtr left, IntPtr right) = System::Numerics::IComparisonOperators<IntPtr, IntPtr, bool>::op_GreaterThan;
static bool IComparisonOperators<IntPtr,IntPtr,bool>.operator > (IntPtr left, IntPtr right);
static member ( > ) : nativeint * nativeint -> bool
 Shared Operator > (left As IntPtr, right As IntPtr) As Boolean Implements IComparisonOperators(Of IntPtr, IntPtr, Boolean).op_GreaterThan

参数

left
IntPtr

nativeint

要与 right进行比较的值。

right
IntPtr

nativeint

要与 left进行比较的值。

返回

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

实现

适用于