Int16.IsNegative(Int16) Methode

Definition

Bestimmt, ob ein Wert negativ ist.

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

Parameter

value
Int16

Der zu überprüfende Wert.

Gibt zurück

true wenn value negativ, andernfalls false.

Implementiert

Hinweise

Ein Rückgabewert von false bedeutet nicht, dass IsPositive(TSelf) zurückgegeben truewird. Eine komplexe Zahl ist a + bi für ungleich Null bnicht positiv oder negativ.

Gilt für: