IntPtr.IsNegative(IntPtr) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Determines if a value is negative.
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
Parameters
- value
-
IntPtr
nativeint
The value to be checked.
Returns
true
if value
is negative; otherwise, false
.
Implements
Remarks
A return value of false
does not imply that IsPositive(TSelf) will return true
. A complex number, a + bi
for non-zero b
, is not positive or negative
Applies to
Colaborar con nosotros en GitHub
El origen de este contenido se puede encontrar en GitHub, donde también puede crear y revisar problemas y solicitudes de incorporación de cambios. Para más información, consulte nuestra guía para colaboradores.