Share via


Complex.IsImaginaryNumber(Complex) 方法

定義

判斷值是否代表虛數。

public:
 static bool IsImaginaryNumber(System::Numerics::Complex value) = System::Numerics::INumberBase<System::Numerics::Complex>::IsImaginaryNumber;
public static bool IsImaginaryNumber (System.Numerics.Complex value);
static member IsImaginaryNumber : System.Numerics.Complex -> bool
Public Shared Function IsImaginaryNumber (value As Complex) As Boolean

參數

value
Complex

要檢查的值。

傳回

true 如果 value 是虛數,則為 , false否則為 。

實作

備註

這個函式會false針對非零的複數a + bia傳回 。

適用於