Int16.IsNegative(Int16) Méthode
Définition
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.
Détermine si une valeur est négative.
public:
static bool IsNegative(short value) = System::Numerics::INumberBase<short>::IsNegative;
public static bool IsNegative(short value);
static member IsNegative : int16 -> bool
Public Shared Function IsNegative (value As Short) As Boolean
Paramètres
- value
- Int16
Valeur à vérifier.
Retours
true si value est négatif ; sinon, false.
Implémente
Remarques
Une valeur de retour de false n’implique pas que IsPositive(TSelf) retourne true. Un nombre complexe, a + bi pour un nombre différent de zéro b, n’est pas positif ou négatif