Bewerken

Delen via


ExpressionVisitor.VisitConstant(ConstantExpression) Method

Definition

Visits the ConstantExpression.

protected public:
 virtual System::Linq::Expressions::Expression ^ VisitConstant(System::Linq::Expressions::ConstantExpression ^ node);
protected internal virtual System.Linq.Expressions.Expression VisitConstant (System.Linq.Expressions.ConstantExpression node);
abstract member VisitConstant : System.Linq.Expressions.ConstantExpression -> System.Linq.Expressions.Expression
override this.VisitConstant : System.Linq.Expressions.ConstantExpression -> System.Linq.Expressions.Expression
Protected Friend Overridable Function VisitConstant (node As ConstantExpression) As Expression

Parameters

node
ConstantExpression

The expression to visit.

Returns

The modified expression, if it or any subexpression was modified; otherwise, returns the original expression.

Applies to