Int32.IsNegative(Int32) Methode

Definitie

Bepaalt of een waarde negatief is.

public:
 static bool IsNegative(int value) = System::Numerics::INumberBase<int>::IsNegative;
public static bool IsNegative(int value);
static member IsNegative : int -> bool
Public Shared Function IsNegative (value As Integer) As Boolean

Parameters

value
Int32

De waarde die moet worden gecontroleerd.

Retouren

trueals value dit negatief is; anders. false

Implementeringen

Opmerkingen

Een retourwaarde van false impliceert niet dat deze IsPositive(TSelf) retourneert true. Een complex getal, a + bi voor niet-nul b, is niet positief of negatief

Van toepassing op