Expression.VisitChildren(ExpressionVisitor) 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.
Reduces the node and then calls the visitor delegate on the reduced expression. The method throws an exception if the node is not reducible.
protected public:
virtual System::Linq::Expressions::Expression ^ VisitChildren(System::Linq::Expressions::ExpressionVisitor ^ visitor);
protected internal virtual System.Linq.Expressions.Expression VisitChildren (System.Linq.Expressions.ExpressionVisitor visitor);
abstract member VisitChildren : System.Linq.Expressions.ExpressionVisitor -> System.Linq.Expressions.Expression
override this.VisitChildren : System.Linq.Expressions.ExpressionVisitor -> System.Linq.Expressions.Expression
Protected Friend Overridable Function VisitChildren (visitor As ExpressionVisitor) As Expression
Parameters
- visitor
- ExpressionVisitor
An instance of Func<T,TResult>.
Returns
The expression being visited, or an expression which should replace it in the tree.
Remarks
Override this method to provide logic to walk the node's children. A typical implementation will call visitor.Visit on each of its children, and if any of them change, should return a new copy of itself with the modified children.
Applies to
Povratne informacije
https://aka.ms/ContentUserFeedback.
Kmalu na voljo: V letu 2024 bomo ukinili storitev Težave v storitvi GitHub kot mehanizem za povratne informacije za vsebino in jo zamenjali z novim sistemom za povratne informacije. Za več informacij si oglejte:Pošlji in prikaži povratne informacije za