Bagikan melalui


IntPtr.IModulusOperators<IntPtr,IntPtr,IntPtr>.Modulus Operator

Definisi

Membagi dua nilai bersama-sama untuk menghitung modulus atau sisanya.

 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

Parameter

left
IntPtr

nativeint

Nilai yang right dibagi.

right
IntPtr

nativeint

Nilai yang membagi left.

Mengembalikan

IntPtr

nativeint

Modulus atau sisa dibagi left dengan right.

Penerapan

Berlaku untuk