IntPtr.DivRem(IntPtr, IntPtr) 方法

定义

计算两个值的商和余数。

public:
 static ValueTuple<IntPtr, IntPtr> DivRem(IntPtr left, IntPtr right) = System::Numerics::IBinaryInteger<IntPtr>::DivRem;
public static (IntPtr Quotient, IntPtr Remainder) DivRem (IntPtr left, IntPtr right);
static member DivRem : nativeint * nativeint -> ValueTuple<nativeint, nativeint>
Public Shared Function DivRem (left As IntPtr, right As IntPtr) As ValueTuple(Of IntPtr, IntPtr)

参数

left
IntPtr

nativeint

除法的值 right

right
IntPtr

nativeint

除以 left的值。

返回

ValueTuple<IntPtr,IntPtr>

ValueTuple<nativeint,nativeint>

除以 rightleft商和余数。

实现

适用于