共用方式為


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

定義

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

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

參數

left
IntPtr

nativeint

除法的值 right

right
IntPtr

nativeint

除以 left 的值。

傳回

IntPtr

nativeint

除以 的 leftright 模數或餘數。

實作

適用於