public static explicit operator double (
	Complex z
)Public Shared Narrowing Operator CType ( 
	z As Complex
) As Doublestatic explicit operator double (
	Complex z
)This explicit cast will fail if the complex number has a non-zero imaginary part. If you just want to obtain the real part of a complex number, use the Re property.
| InvalidCastException | z.Im ≠ 0 |