.NET/Link API Version 1.7 USE FRAMES

IMathLink.GetData Method 

Gets a specified number of bytes in the textual form of the expression currently being read.

[Visual Basic]
Function GetData( _
   ByVal numRequested As Integer _
) As Byte()
byte[] GetData(
   int numRequested


The maximum number of bytes to read.


You can use BytesToGet to determine if more GetData calls are needed to completely read the element.

The returned array will have a length of at most numRequested.


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 | BytesToGet | GetNextExpressionType | GetExpressionType