Share via


UInt16.DivRem(UInt16, UInt16) Méthode

Définition

Calcule le quotient et le reste de deux valeurs.

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

Paramètres

left
UInt16

Valeur qui right divise.

right
UInt16

Valeur qui divise left.

Retours

Quotient et reste de left divisé par right.

Implémente

S’applique à