.NET/Link API Version 1.7 USE FRAMES

Expr.Dispose Method 

Frees resources that the Expr uses internally.

[Visual Basic]
NotOverridable Public Sub Dispose() _
    Implements IDisposable.Dispose
[C#]
public void Dispose();

Implements

IDisposable.Dispose

Remarks

Although this method is called when an Expr object is garbage-collected, you should get in the habit of calling Dispose when you are finished with an Expr.

The Expr should not be used after Dispose() has been called.

Calling Dispose is not necessary, and in fact it has no effect, on Exprs that are created by calling Expr constructors. It only affects Exprs that are created by reading from a link using the GetExpr or PeekExpr methods.

See Also

Expr Class | Wolfram.NETLink Namespace