共用方式為


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

定義

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

 static System::UInt16 System.Numerics.IModulusOperators<System.UInt16,System.UInt16,System.UInt16>.operator %(System::UInt16 left, System::UInt16 right) = System::Numerics::IModulusOperators<System::UInt16, System::UInt16, System::UInt16>::op_Modulus;
static ushort IModulusOperators<ushort,ushort,ushort>.operator % (ushort left, ushort right);
static member ( % ) : uint16 * uint16 -> uint16
 Shared Operator Mod (left As UShort, right As UShort) As UShort Implements IModulusOperators(Of UShort, UShort, UShort).op_Modulus

參數

left
UInt16

除法的值 right

right
UInt16

除以 left 的值。

傳回

除以 的 leftright 模數或餘數。

實作

適用於