.NET/Link API Version 1.7 USE FRAMES

IKernelLink.GetNextExpressionType�Method�

Gives the type of the next element in the expression currently being read. Overrides the IMathLink method by allowing the extra return type ExpressionType.Object.

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

Remarks

ExpressionType.Object is returned whenever a NETObject expression, or the symbol Null, is waiting on the link. Otherwise this method behaves just like the version in the IMathLink interface.

To check the type of a partially read element without advancing to the next element, use GetExpressionType.

Exceptions

Exception Type Condition
MathLinkException On any MathLink error.

See Also

IKernelLink Interface | Wolfram.NETLink Namespace | GetExpressionType | EnableObjectReferences | GetObject