Share via


ExpressionExtensions.Print(Expression, Nullable<Int32>) Method

Definition

Creates a printable string representation of the given expression.

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

Parameters

expression
Expression

The expression.

characterLimit
Nullable<Int32>

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

Returns

The printable representation.

Applies to