.NET/Link API Version 1.7 USE FRAMES

Expr Constructor (Object)

Creates an Expr whose value is given by the supplied object.

[Visual Basic]
Overloads Public Sub New( _
   ByVal obj As Object _
)
[C#]
public Expr(
   object obj
);

Parameters

obj
The object whose value will be used for the Expr.

Remarks

The object can be a boxed primitive (e.g, Int32, Double, Boolean etc.) a String, an Expr, or an array.

If it is an array, it must be a 1- or 2-dimensional array of primitive types or strings. It cannot be jagged (that is, it must be typed like int[,], not int[][]). The data in the array is copied into the Expr, so future changes to the original array will not be reflected in the Expr.

Exceptions

Exception TypeCondition
ArgumentExceptionIf the object is of a type that cannot be handled.

See Also

Expr Class | Wolfram.NETLink Namespace | Expr Constructor Overload List