共用方式為


IntPtr.IsPositive(IntPtr) 方法

定義

判斷值是否為正數。

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

參數

value
IntPtr

nativeint

傳回

Boolean

true 如果 value 為正數,則為 ,否則為 false

實作

備註

false 傳回值不表示會傳 IsNegative(TSelf)true 。 非零 b 的複數 a + bi 不是正數或負數

適用於