IntPtr.IsNegative(IntPtr) 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(IntPtr value) = System::Numerics::INumberBase<IntPtr>::IsNegative;
public static bool IsNegative (IntPtr value);
static member IsNegative : nativeint -> bool
Public Shared Function IsNegative (value As IntPtr) As Boolean
Paramètres
- value
-
IntPtr
nativeint
Retours
true
s’il value
est négatif ; sinon, false
.
Implémente
Remarques
Une valeur de retour de n’implique false
pas qu’elle IsPositive(TSelf) retourne true
. Un nombre complexe, a + bi
pour un non-zéro b
, n’est pas positif ou négatif