.NET/Link API Version 1.7 USE FRAMES

IMathLink.GetComplex Method 

Reads a complex number. This can be an integer, real, or a Mathematica expression with head Complex.

[Visual Basic]
Function GetComplex() As Object
object GetComplex();

Return Value

The complex number as an instance of the class previously designated using the ComplexType property, or null if no class has been designated.


You must first designated a class to be used for complex numbers using the ComplexType property.


Exception Type Condition
MathLinkException If the waiting data cannot be read in this format, or on any other MathLink error.

See Also

IMathLink Interface | Wolfram.NETLink Namespace | ComplexType