Expr(ExpressionType, String) Constructor
Creates an Expr representing a Wolfram Language Integer, Real, String, or Symbol whose value is
given by the supplied string (for example "2", "3.14", "Plus", or "True").
Namespace: Wolfram.NETLinkAssembly: Wolfram.NETLink (in Wolfram.NETLink.dll) Version: 2.0.0.0
public Expr(
ExpressionType type,
string val
)
Public Sub New (
type As ExpressionType,
val As String
)
public:
Expr(
ExpressionType type,
String^ val
)
new :
type : ExpressionType *
val : string -> Expr
Parameters
- type ExpressionType
- The type of Expr to create.
- val String
- The Expr's value.
Creates only the following types: ExpressionType.Integer, ExpressionType.Real, ExpressionType.String,
ExpressionType.Symbol, ExpressionType.Boolean.