SByte.IsNegative(SByte) Metod

Definition

Avgör om ett värde är negativt.

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

Parametrar

value
SByte

Det värde som ska kontrolleras.

Returer

true om value är negativ, annars false.

Implementeringar

Kommentarer

Ett returvärde för false innebär inte att returnera IsPositive(TSelf)true. Ett komplext tal, a + bi för icke-noll b, är inte positivt eller negativt

Gäller för