DynamicExpressionVisitor Class

.NET Framework 4.5

Represents a visitor or rewriter for dynamic expression trees.

System.Object
  System.Linq.Expressions.ExpressionVisitor
    System.Linq.Expressions.DynamicExpressionVisitor

Namespace:  System.Linq.Expressions
Assembly:  System.Core (in System.Core.dll)

public abstract class DynamicExpressionVisitor : ExpressionVisitor

The DynamicExpressionVisitor type exposes the following members.

  NameDescription
Protected methodSupported in .NET for Windows Store appsDynamicExpressionVisitorInitializes a new instance of DynamicExpressionVisitor.
Top

  NameDescription
Public methodSupported in .NET for Windows Store appsEquals(Object)Determines whether the specified object is equal to the current object. (Inherited from Object.)
Protected methodSupported in .NET for Windows Store appsFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public methodSupported in .NET for Windows Store appsGetHashCodeServes as the default hash function. (Inherited from Object.)
Public methodSupported in .NET for Windows Store appsGetTypeGets the Type of the current instance. (Inherited from Object.)
Protected methodSupported in .NET for Windows Store appsMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodSupported in .NET for Windows Store appsToStringReturns a string that represents the current object. (Inherited from Object.)
Public methodSupported in .NET for Windows Store appsVisit(Expression)Dispatches the expression to one of the more specialized visit methods in this class. (Inherited from ExpressionVisitor.)
Public methodSupported in .NET for Windows Store appsVisit(ReadOnlyCollection<Expression>)Dispatches the list of expressions to one of the more specialized visit methods in this class. (Inherited from ExpressionVisitor.)
Public methodSupported in .NET for Windows Store appsVisitAndConvert<T>(T, String)Visits an expression, casting the result back to the original expression type. (Inherited from ExpressionVisitor.)
Public methodSupported in .NET for Windows Store appsVisitAndConvert<T>(ReadOnlyCollection<T>, String)Visits an expression, casting the result back to the original expression type. (Inherited from ExpressionVisitor.)
Protected methodSupported in .NET for Windows Store appsVisitBinaryVisits the children of the BinaryExpression. (Inherited from ExpressionVisitor.)
Protected methodSupported in .NET for Windows Store appsVisitBlockVisits the children of the BlockExpression. (Inherited from ExpressionVisitor.)
Protected methodSupported in .NET for Windows Store appsVisitCatchBlockVisits the children of the CatchBlock. (Inherited from ExpressionVisitor.)
Protected methodSupported in .NET for Windows Store appsVisitConditionalVisits the children of the ConditionalExpression. (Inherited from ExpressionVisitor.)
Protected methodSupported in .NET for Windows Store appsVisitConstantVisits the ConstantExpression. (Inherited from ExpressionVisitor.)
Protected methodSupported in .NET for Windows Store appsVisitDebugInfoVisits the DebugInfoExpression. (Inherited from ExpressionVisitor.)
Protected methodSupported in .NET for Windows Store appsVisitDefaultVisits the DefaultExpression. (Inherited from ExpressionVisitor.)
Protected methodSupported in .NET for Windows Store appsVisitDynamicVisits the children of the DynamicExpression. (Overrides ExpressionVisitor.VisitDynamic(DynamicExpression).)
Protected methodSupported in .NET for Windows Store appsVisitElementInitVisits the children of the ElementInit. (Inherited from ExpressionVisitor.)
Protected methodSupported in .NET for Windows Store appsVisitExtensionVisits the children of the extension expression. (Inherited from ExpressionVisitor.)
Protected methodSupported in .NET for Windows Store appsVisitGotoVisits the children of the GotoExpression. (Inherited from ExpressionVisitor.)
Protected methodSupported in .NET for Windows Store appsVisitIndexVisits the children of the IndexExpression. (Inherited from ExpressionVisitor.)
Protected methodSupported in .NET for Windows Store appsVisitInvocationVisits the children of the InvocationExpression. (Inherited from ExpressionVisitor.)
Protected methodSupported in .NET for Windows Store appsVisitLabelVisits the children of the LabelExpression. (Inherited from ExpressionVisitor.)
Protected methodSupported in .NET for Windows Store appsVisitLabelTargetVisits the LabelTarget. (Inherited from ExpressionVisitor.)
Protected methodSupported in .NET for Windows Store appsVisitLambda<T>Visits the children of the Expression<TDelegate>. (Inherited from ExpressionVisitor.)
Protected methodSupported in .NET for Windows Store appsVisitListInitVisits the children of the ListInitExpression. (Inherited from ExpressionVisitor.)
Protected methodSupported in .NET for Windows Store appsVisitLoopVisits the children of the LoopExpression. (Inherited from ExpressionVisitor.)
Protected methodSupported in .NET for Windows Store appsVisitMemberVisits the children of the MemberExpression. (Inherited from ExpressionVisitor.)
Protected methodSupported in .NET for Windows Store appsVisitMemberAssignmentVisits the children of the MemberAssignment. (Inherited from ExpressionVisitor.)
Protected methodSupported in .NET for Windows Store appsVisitMemberBindingVisits the children of the MemberBinding. (Inherited from ExpressionVisitor.)
Protected methodSupported in .NET for Windows Store appsVisitMemberInitVisits the children of the MemberInitExpression. (Inherited from ExpressionVisitor.)
Protected methodSupported in .NET for Windows Store appsVisitMemberListBindingVisits the children of the MemberListBinding. (Inherited from ExpressionVisitor.)
Protected methodSupported in .NET for Windows Store appsVisitMemberMemberBindingVisits the children of the MemberMemberBinding. (Inherited from ExpressionVisitor.)
Protected methodSupported in .NET for Windows Store appsVisitMethodCallVisits the children of the MethodCallExpression. (Inherited from ExpressionVisitor.)
Protected methodSupported in .NET for Windows Store appsVisitNewVisits the children of the NewExpression. (Inherited from ExpressionVisitor.)
Protected methodSupported in .NET for Windows Store appsVisitNewArrayVisits the children of the NewArrayExpression. (Inherited from ExpressionVisitor.)
Protected methodSupported in .NET for Windows Store appsVisitParameterVisits the ParameterExpression. (Inherited from ExpressionVisitor.)
Protected methodSupported in .NET for Windows Store appsVisitRuntimeVariablesVisits the children of the RuntimeVariablesExpression. (Inherited from ExpressionVisitor.)
Protected methodSupported in .NET for Windows Store appsVisitSwitchVisits the children of the SwitchExpression. (Inherited from ExpressionVisitor.)
Protected methodSupported in .NET for Windows Store appsVisitSwitchCaseVisits the children of the SwitchCase. (Inherited from ExpressionVisitor.)
Protected methodSupported in .NET for Windows Store appsVisitTryVisits the children of the TryExpression. (Inherited from ExpressionVisitor.)
Protected methodSupported in .NET for Windows Store appsVisitTypeBinaryVisits the children of the TypeBinaryExpression. (Inherited from ExpressionVisitor.)
Protected methodSupported in .NET for Windows Store appsVisitUnaryVisits the children of the UnaryExpression. (Inherited from ExpressionVisitor.)
Top

This class is designed to be inherited to create more specialized classes whose functionality requires traversing, examining, or copying a dynamic expression tree.

.NET Framework

Supported in: 4.5.2, 4.5.1, 4.5

.NET for Windows Store apps

Supported in: Windows 8

.NET for Windows Phone apps

Supported in: Windows Phone 8.1, Windows Phone 8, Silverlight 8.1

Windows Phone 8.1, Windows Phone 8, Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft