共用方式為


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>

right 以 的 left 商數和餘數。

實作

適用於