IMathLinkGetString Method

Reads a Wolfram Language character string.

Definition

Namespace: Wolfram.NETLink
Assembly: Wolfram.NETLink (in Wolfram.NETLink.dll) Version: 2.0.0.0
C#
string GetString()

Return Value

String

Remarks

Because both .NET and Wolfram Language strings are in Unicode, the string as read is an exact match to its Wolfram Language representation.

Use GetStringCRLF if you need a string with the Windows newline convention.

Exceptions

MathLinkExceptionIf the waiting data cannot be read in this format, or on any other MathLink error.

See Also