IntPtr.IsNegative(IntPtr) Metoda

Definicja

Określa, czy wartość jest ujemna.

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

Parametry

value
IntPtr

nativeint

Wartość do sprawdzenia.

Zwraca

true wartość value ujemna; w przeciwnym razie false.

Implementuje

Uwagi

Wartość zwracana false nie oznacza, że IsPositive(TSelf) funkcja zwróci truewartość . Liczba zespolona dla a + bi wartości niezerowej bnie jest dodatnia lub ujemna

Dotyczy