.NET/Link API Version 1.5 USE FRAMES

IMathLink.GetString Method 

Reads a Mathematica character string.

[Visual Basic]
Function GetString() As String
[C#]
string GetString();

Remarks

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

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

Exceptions

Exception Type Condition
MathLinkException If the waiting data cannot be read in this format, or on any other MathLink error.

See Also

IMathLink Interface | Wolfram.NETLink Namespace | GetStringCRLF | GetByteString