Int16.IsNegative(Int16) Metodo

Definizione

Determina se un valore è negativo.

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

Parametri

value
Int16

Valore da controllare.

Valori restituiti

true se è negativo; in value caso contrario, false.

Implementazioni

Commenti

Un valore restituito di false non implica che IsPositive(TSelf) restituirà true. Un numero complesso, a + bi per diverso da zero b, non è positivo o negativo

Si applica a