ExpressionPrinter.PrintExpression(Expression, Nullable<Int32>) Method

Definition

Creates a printable string representation of the given expression.

public virtual string PrintExpression (System.Linq.Expressions.Expression expression, int? characterLimit = default);
abstract member PrintExpression : System.Linq.Expressions.Expression * Nullable<int> -> string
override this.PrintExpression : System.Linq.Expressions.Expression * Nullable<int> -> string
Public Overridable Function PrintExpression (expression As Expression, Optional characterLimit As Nullable(Of Integer) = Nothing) As String

Parameters

expression
Expression

The expression to print.

characterLimit
Nullable<Int32>

An optional limit to the number of characters included. Additional output will be truncated.

Returns

The printable representation.

Applies to