共用方式為


UIntPtr.DivRem(UIntPtr, UIntPtr) 方法

定義

計算兩個值的商數和餘數。

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)

參數

left
UIntPtr

unativeint

除法的值 right

right
UIntPtr

unativeint

會除以 left 的值。

傳回

ValueTuple<UIntPtr,UIntPtr>

ValueTuple<unativeint,unativeint>

right 以 的 left 商數和餘數。

實作

適用於