ExprDispose Method

Frees resources that the Expr uses internally.

Definition

Namespace: Wolfram.NETLink
Assembly: Wolfram.NETLink (in Wolfram.NETLink.dll) Version: 2.0.0.0
C#
public void Dispose()

Implements

IDisposableDispose

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