UInt16.INumberBase<UInt16>.MaxMagnitude(UInt16, UInt16) 方法

定義

比較兩個值與大於的計算。

 static System::UInt16 System.Numerics.INumberBase<System.UInt16>.MaxMagnitude(System::UInt16 x, System::UInt16 y) = System::Numerics::INumberBase<System::UInt16>::MaxMagnitude;
static ushort INumberBase<ushort>.MaxMagnitude (ushort x, ushort y);
static member System.Numerics.INumberBase<System.UInt16>.MaxMagnitude : uint16 * uint16 -> uint16
 Shared Function MaxMagnitude (x As UShort, y As UShort) As UShort Implements INumberBase(Of UShort).MaxMagnitude

參數

x
UInt16

要與 y 比較的值。

y
UInt16

要與 x 比較的值。

傳回

x 如果大於 ,則為 y ,否則為 y

實作

適用於