Bagikan melalui


IntPtr.DivRem(IntPtr, IntPtr) Metode

Definisi

Menghitung quotient dan sisa dari dua nilai.

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)

Parameter

left
IntPtr

nativeint

Nilai yang right dibagi.

right
IntPtr

nativeint

Nilai yang membagi left.

Mengembalikan

ValueTuple<IntPtr,IntPtr>

ValueTuple<nativeint,nativeint>

Quotient dan sisa dari left dibagi-dengan right.

Penerapan

Berlaku untuk