Sdílet prostřednictvím


UIntPtr.DivRem(UIntPtr, UIntPtr) Metoda

Definice

Vypočítá podíl a zbytek dvou hodnot.

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

Parametry

left
UIntPtr

unativeint

Hodnota, která right se rozdělí.

right
UIntPtr

unativeint

Hodnota, která rozdělí left.

Návraty

ValueTuple<UIntPtr,UIntPtr>

ValueTuple<unativeint,unativeint>

Podíl a zbytek děleného rightpodílu left .

Implementuje

Výjimky

right je nula.

Platí pro