IntPtr.IsNegative(IntPtr) Método
Definição
Importante
Algumas informações dizem respeito a um produto pré-lançado que pode ser substancialmente modificado antes de ser lançado. A Microsoft não faz garantias, de forma expressa ou implícita, em relação à informação aqui apresentada.
Determina se um valor é negativo.
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
Parâmetros
- value
-
IntPtr
nativeint
O valor a ser verificado.
Devoluções
true se value for negativo; caso contrário, false.
Implementações
Observações
Um valor de retorno de false não implica que IsPositive(TSelf) irá devolver true. Um número complexo, a + bi para não nulo b, não é positivo nem negativo