.NET/Link API Version 1.7 USE FRAMES

IMathLink.GetArray Method (Type, Int32)

Reads an array and discards information about the heads at each level.

[Visual Basic]
Function GetArray( _
   ByVal leafType As Type, _
   ByVal depth As Integer _
) As Array
[C#]
Array GetArray(
   Type leafType,
   int depth
);

Parameters

leafType
The type of the leaf elements of the returned array.
depth
The requested depth.

Remarks

The information about the heads is lost; if you need this information you can use the alternative overload GetArray(int type, int depth, out string[] heads), or read the expression as an Expr and examine it using the Expr methods.

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 | IMathLink.GetArray Overload List