.NET/Link API Version 1.7 USE FRAMES

Expr.CreateFromLink Method 

Creates an Expr by reading it off a link.

[Visual Basic]
Public Shared Function CreateFromLink( _
   ByVal ml As IMathLink _
) As Expr
[C#]
public static Expr CreateFromLink(
   IMathLink ml
);

Parameters

ml
The link from which the Expr should be read.

Return Value

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

Exception Type Condition
MathLinkException On any MathLink error.

See Also

Expr Class | Wolfram.NETLink Namespace