.NET/Link API Version 1.7 USE FRAMES

Expr Methods

The methods of the Expr class are listed below. For a complete list of Expr class members, see the Expr Members topic.

Public Static (Shared) Methods

CreateFromLink Creates an Expr by reading it off a link.

Public Instance Methods

AsArray Converts the Expr to an array of the requested type and depth.
AsDouble Gives the double value for Exprs that can be represented as doubles.
AsInt64 Gives the Int64 value for Exprs that can be represented as integers.
AtomQ Tells whether the Expr represents a Mathematica atom. Works like the Mathematica function AtomQ.
ComplexQ Tells whether the Expr represents a Mathematica Complex number.
Delete Returns a new Expr that has the same head but the nth element deleted (counted from the end if n is negative). Works like the Mathematica function Delete.
Dispose Frees resources that the Expr uses internally.
Equals Implements a value-based equality comparison that is similar to Mathematica's SameQ.
GetHashCode 
GetObjectData Populates the SerializationInfo object with the Expr's internal state information.
GetType (inherited from Object) 
Insert Returns a new Expr that has the same head but with e inserted into position n (counted from the end if n is negative). Works like the Mathematica function Insert.
IntegerQ Tells whether the Expr represents a Mathematica integer. Works like the Mathematica function IntegerQ.
ListQ Tells whether the Expr represents a Mathematica list (that is, it has head List). Works like the Mathematica function ListQ.
MatrixQOverloaded. Tells whether the Expr represents a Mathematica matrix (that is, it has head List, every element has head List, and no deeper parts are themselves lists). Works like the Mathematica function MatrixQ.
NumberQ Tells whether the Expr represents a Mathematica number (real, integer, rational, or complex). Works like the Mathematica function NumberQ.
PartOverloaded. Gives the Expr representing the specified part of this Expr. Works like the Mathematica function Part.
Put Not intended for general use.
RationalQ Tells whether the Expr represents a Mathematica Rational number.
RealQ Tells whether the Expr represents a Mathematica Real number.
StringQ Tells whether the Expr represents a Mathematica string. Works like the Mathematica function StringQ.
SymbolQ Tells whether the Expr represents a Mathematica symbol.
Take Returns a new Expr that has the same head but only the first n elements of this Expr (or last n elements if n is negative). Works like the Mathematica function Take.
ToString Returns a representation of the Expr as a Mathematica InputForm string.
TrueQ Tells whether the Expr represents the Mathematica symbol True. Works like the Mathematica function TrueQ.
VectorQOverloaded. Tells whether the Expr represents a Mathematica vector (that is, it has head List, and no parts are themselves lists). Works like the Mathematica function VectorQ.

See Also

Expr Class | Wolfram.NETLink Namespace