ExpressionVisitor.VisitConstant(ConstantExpression) 方法

定义

访问 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

参数

node
ConstantExpression

要访问的表达式。

返回

如果修改了该表达式或任何子表达式,则为修改后的表达式;否则返回原始表达式。

适用于