共用方式為


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

要造訪的運算式。

傳回

如果運算式本身或是任一子運算式已經修正,會傳回修正的運算式,否則傳回原始運算式。

適用於