.NET/Link API Version 1.7 USE FRAMES

Expr.Insert Method 

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.

[Visual Basic]
Public Function Insert( _
   ByVal e As Expr, _
   ByVal n As Integer _
) As Expr
[C#]
public Expr Insert(
   Expr e,
   int n
);

Parameters

e
The element to insert.
n
The index at which to perform the insertion (counted from the end if n is negative).

Return Value

The new Expr.

Exceptions

Exception Type Condition
ArgumentException If n is beyond the bounds of the expression.

See Also

Expr Class | Wolfram.NETLink Namespace