Expression.VisitChildren Method (ExpressionVisitor)
.NET Framework (current version)
Reduces the node and then calls the visitor delegate on the reduced expression. The method throws an exception if the node is not reducible.
Assembly: System.Core (in System.Core.dll)
abstract VisitChildren : visitor:ExpressionVisitor -> Expression override VisitChildren : visitor:ExpressionVisitor -> Expression
Parameters
- visitor
-
Type:
System.Linq.Expressions.ExpressionVisitor
An instance of Func<'T, 'TResult>.
Return Value
Type: System.Linq.Expressions.ExpressionThe expression being visited, or an expression which should replace it in the tree.
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.
Universal Windows Platform
Available since 8
.NET Framework
Available since 4.0
Portable Class Library
Supported in: portable .NET platforms
Silverlight
Available since 4.0
Windows Phone Silverlight
Available since 8.0
Windows Phone
Available since 8.1
Available since 8
.NET Framework
Available since 4.0
Portable Class Library
Supported in: portable .NET platforms
Silverlight
Available since 4.0
Windows Phone Silverlight
Available since 8.0
Windows Phone
Available since 8.1
Show: