ExprCreateFromLink Method

Creates an Expr by reading it off a link.

Definition

Namespace: Wolfram.NETLink
Assembly: Wolfram.NETLink (in Wolfram.NETLink.dll) Version: 2.0.0.0
C#
public static Expr CreateFromLink(
	IMathLink ml
)

Parameters

ml  IMathLink
The link from which the Expr should be read.

Return Value

Expr
The created Expr

Remarks

This factory method will only be used by advanced programmers who are creating their own classes that implement the IMathLink interface. You would call this method in your implementation of GetExpr. In other words, this method exists not as a means for casual users to create Exprs from a link (use the GetExpr method instead), but so that IMathLink implementors can write their own GetExpr methods without having to know anything about the internals of the Expr class. Exprs know how to read themselves off a link.

Exceptions

MathLinkExceptionOn any MathLink error.

See Also