Int16.INumber<Int16>.MaxNumber(Int16, Int16) Méthode
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Compare deux valeurs pour calculer ce qui est supérieur et renvoyer l’autre valeur si une entrée est NaN
.
static short System.Numerics.INumber<System.Int16>.MaxNumber(short x, short y) = System::Numerics::INumber<short>::MaxNumber;
static short INumber<short>.MaxNumber(short x, short y);
static member System.Numerics.INumber<System.Int16>.MaxNumber : int16 * int16 -> int16
Shared Function MaxNumber (x As Short, y As Short) As Short Implements INumber(Of Short).MaxNumber
- x
- Int16
Valeur à comparer avec y
.
- y
- Int16
Valeur à comparer avec x
.
x
s’il est supérieur y
à ; sinon, y
.
Produit | Versions |
---|---|
.NET | 7, 8, 9, 10 |
Commentaires sur .NET
.NET est un projet open source. Sélectionnez un lien pour fournir des commentaires :