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

定义

比较两个值以确定哪个值小于或等于。

 static bool System.Numerics.IComparisonOperators<nint,nint,System.Boolean>.operator <=(IntPtr left, IntPtr right) = System::Numerics::IComparisonOperators<IntPtr, IntPtr, bool>::op_LessThanOrEqual;
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_LessThanOrEqual

参数

left
IntPtr

nativeint

要与 right进行比较的值。

right
IntPtr

nativeint

要与 left进行比较的值。

返回

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

实现

适用于