Int16.IModulusOperators<Int16,Int16,Int16>.Modulus(Int16, Int16) 運算子

定義

將兩個值相除以計算其模數或餘數。

 static short System.Numerics.IModulusOperators<System.Int16,System.Int16,System.Int16>.operator %(short left, short right) = System::Numerics::IModulusOperators<short, short, short>::op_Modulus;
static short IModulusOperators<short,short,short>.operator % (short left, short right);
static member ( % ) : int16 * int16 -> int16
 Shared Operator Mod (left As Short, right As Short) As Short Implements IModulusOperators(Of Short, Short, Short).op_Modulus

參數

left
Int16

除法的值 right

right
Int16

除以 left 的值。

傳回

除以 的 leftright 模數或餘數。

實作

適用於