ExpressionVisitor.VisitConstant(ConstantExpression) 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.
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
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.