共用方式為


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 比較的值。

傳回

如果 left 大於 right 則為 true,否則為 false

實作

適用於