ExpressionPrinter.PrintExpression(Expression, Nullable<Int32>) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
An optional limit to the number of characters included. Additional output will be truncated.
Returns
The printable representation.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Entity Framework