共用方式為


UIntPtr.IModulusOperators<UIntPtr,UIntPtr,UIntPtr>.Modulus 運算子

定義

將兩個值分割在一起,以計算其模數或餘數。

 static UIntPtr System.Numerics.IModulusOperators<nuint,nuint,nuint>.operator %(UIntPtr left, UIntPtr right) = System::Numerics::IModulusOperators<UIntPtr, UIntPtr, UIntPtr>::op_Modulus;
static UIntPtr IModulusOperators<UIntPtr,UIntPtr,UIntPtr>.operator % (UIntPtr left, UIntPtr right);
static member ( % ) : unativeint * unativeint -> unativeint
 Shared Operator Mod (left As UIntPtr, right As UIntPtr) As UIntPtr Implements IModulusOperators(Of UIntPtr, UIntPtr, UIntPtr).op_Modulus

參數

left
UIntPtr

unativeint

除法的值 right

right
UIntPtr

unativeint

除以 left 的值。

傳回

UIntPtr

unativeint

除以 的 leftright 模數或餘數。

實作

適用於