ILinkMark Interface

Represents a mark in the incoming MathLink data stream that you can seek back to.

Definition

Namespace: Wolfram.NETLink
Assembly: Wolfram.NETLink (in Wolfram.NETLink.dll) Version: 2.0.0.0
C#
public interface ILinkMark

Remarks

Marks can returned to later, to re-read data. A common use is to create a mark, call some method for reading data, and if a MathLinkException is thrown, seek back to the mark and try a different method of reading the data.

ILinkMark has no useful methods. It is an opaque type that is manipulated by methods in the IMathLink interface.

Marks are created by the CreateMark method.

Make sure to always call DestroyMark on any marks you create. Failure to do so will cause a memory leak. Some of the usefulness of marks in the C-language MathLink API is obviated by .NET/Link's Expr class.

Properties

Mark Gets the link pointer for the link on which this mark was created. This property should not be used by programmers.

See Also