IntPtr.IsNegative(IntPtr) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
确定值是否为负值。
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
参数
- value
-
IntPtr
nativeint
返回
true
如果 value
为负值,则为负数;否则为 false
。
实现
注解
返回值 false
并不意味着 IsPositive(TSelf) 将返回 true
。 非零b
的复数不是正数或负数 a + bi