.NET/Link API Version 1.5 USE FRAMES

IMathLink.GetExpressionType Method 

Gives the type of the current element in the expression currently being read.

[Visual Basic]
Function GetExpressionType() As ExpressionType
[C#]
ExpressionType GetExpressionType();

Remarks

Unlike GetNextExpressionType, GetExpressionType will not advance to the next element if the current element has only been partially read.

Exceptions

Exception Type Condition
MathLinkException On any MathLink error.

See Also

IMathLink Interface | Wolfram.NETLink Namespace | GetNextExpressionType