UInt16.INumberBase<UInt16>.MaxMagnitude(UInt16, UInt16) Metoda

Definicja

Porównuje dwie wartości z obliczeniami, które są większe.

 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

Parametry

x
UInt16

Wartość do porównania z y.

y
UInt16

Wartość do porównania z x.

Zwraca

x jeśli wartość jest większa niż y; w przeciwnym razie y.

Implementuje

Dotyczy