Int16.IsNegative(Int16) Methode

Definitie

Bepaalt of een waarde negatief is.

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

Parameters

value
Int16

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