共用方式為


UIntPtr.IComparisonOperators<UIntPtr,UIntPtr,Boolean>.LessThanOrEqual 運算子

定義

比較兩個值,以判斷哪一個值小於或相等。

 static bool System.Numerics.IComparisonOperators<nuint,nuint,System.Boolean>.operator <=(UIntPtr left, UIntPtr right) = System::Numerics::IComparisonOperators<UIntPtr, UIntPtr, bool>::op_LessThanOrEqual;
static bool IComparisonOperators<UIntPtr,UIntPtr,bool>.operator <= (UIntPtr left, UIntPtr right);
static member ( <= ) : unativeint * unativeint -> bool
 Shared Operator <= (left As UIntPtr, right As UIntPtr) As Boolean Implements IComparisonOperators(Of UIntPtr, UIntPtr, Boolean).op_LessThanOrEqual

參數

left
UIntPtr

unativeint

要與 right 比較的值。

right
UIntPtr

unativeint

要與 left 比較的值。

傳回

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

實作

適用於