Export (0) Print
Expand All
0 out of 1 rated this helpful - Rate this topic

ExpressionVisitor Class

Represents a visitor or rewriter for expression trees.

Namespace:  System.Linq.Expressions
Assembly:  System.Core (in System.Core.dll)
public abstract class ExpressionVisitor

The ExpressionVisitor type exposes the following members.

  NameDescription
Protected methodSupported by Portable Class LibrarySupported in .NET for Windows Store appsExpressionVisitorInitializes a new instance of ExpressionVisitor.
Top
  NameDescription
Public methodSupported by Portable Class LibrarySupported in .NET for Windows Store appsEquals(Object)Determines whether the specified object is equal to the current object. (Inherited from Object.)
Protected methodSupported by Portable Class LibrarySupported 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 by Portable Class LibrarySupported in .NET for Windows Store appsGetHashCodeServes as the default hash function. (Inherited from Object.)
Public methodSupported by Portable Class LibrarySupported in .NET for Windows Store appsGetTypeGets the Type of the current instance. (Inherited from Object.)
Protected methodSupported by Portable Class LibrarySupported in .NET for Windows Store appsMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodSupported by Portable Class LibrarySupported in .NET for Windows Store appsToStringReturns a string that represents the current object. (Inherited from Object.)
Public methodSupported by Portable Class LibrarySupported in .NET for Windows Store appsVisit(Expression)Dispatches the expression to one of the more specialized visit methods in this class.
Public methodSupported by Portable Class LibrarySupported in .NET for Windows Store appsVisit(ReadOnlyCollection<Expression>)Dispatches the list of expressions to one of the more specialized visit methods in this class.
Public methodStatic memberSupported by Portable Class LibrarySupported in .NET for Windows Store appsVisit<T>(ReadOnlyCollection<T>, Func<T, T>)Visits all nodes in the collection using a specified element visitor.
Public methodSupported by Portable Class LibrarySupported in .NET for Windows Store appsVisitAndConvert<T>(T, String)Visits an expression, casting the result back to the original expression type.
Public methodSupported by Portable Class LibrarySupported in .NET for Windows Store appsVisitAndConvert<T>(ReadOnlyCollection<T>, String)Visits an expression, casting the result back to the original expression type.
Protected methodSupported by Portable Class LibrarySupported in .NET for Windows Store appsVisitBinaryVisits the children of the BinaryExpression.
Protected methodSupported by Portable Class LibrarySupported in .NET for Windows Store appsVisitBlockVisits the children of the BlockExpression.
Protected methodSupported by Portable Class LibrarySupported in .NET for Windows Store appsVisitCatchBlockVisits the children of the CatchBlock.
Protected methodSupported by Portable Class LibrarySupported in .NET for Windows Store appsVisitConditionalVisits the children of the ConditionalExpression.
Protected methodSupported by Portable Class LibrarySupported in .NET for Windows Store appsVisitConstantVisits the ConstantExpression.
Protected methodSupported by Portable Class LibrarySupported in .NET for Windows Store appsVisitDebugInfoVisits the DebugInfoExpression.
Protected methodSupported by Portable Class LibrarySupported in .NET for Windows Store appsVisitDefaultVisits the DefaultExpression.
Protected methodSupported by Portable Class LibraryVisitDynamicVisits the children of the DynamicExpression.
Protected methodSupported by Portable Class LibrarySupported in .NET for Windows Store appsVisitElementInitVisits the children of the ElementInit.
Protected methodSupported by Portable Class LibrarySupported in .NET for Windows Store appsVisitExtensionVisits the children of the extension expression.
Protected methodSupported by Portable Class LibrarySupported in .NET for Windows Store appsVisitGotoVisits the children of the GotoExpression.
Protected methodSupported by Portable Class LibrarySupported in .NET for Windows Store appsVisitIndexVisits the children of the IndexExpression.
Protected methodSupported by Portable Class LibrarySupported in .NET for Windows Store appsVisitInvocationVisits the children of the InvocationExpression.
Protected methodSupported by Portable Class LibrarySupported in .NET for Windows Store appsVisitLabelVisits the children of the LabelExpression.
Protected methodSupported by Portable Class LibrarySupported in .NET for Windows Store appsVisitLabelTargetVisits the LabelTarget.
Protected methodSupported by Portable Class LibrarySupported in .NET for Windows Store appsVisitLambda<T>Visits the children of the Expression<TDelegate>.
Protected methodSupported by Portable Class LibrarySupported in .NET for Windows Store appsVisitListInitVisits the children of the ListInitExpression.
Protected methodSupported by Portable Class LibrarySupported in .NET for Windows Store appsVisitLoopVisits the children of the LoopExpression.
Protected methodSupported by Portable Class LibrarySupported in .NET for Windows Store appsVisitMemberVisits the children of the MemberExpression.
Protected methodSupported by Portable Class LibrarySupported in .NET for Windows Store appsVisitMemberAssignmentVisits the children of the MemberAssignment.
Protected methodSupported by Portable Class LibrarySupported in .NET for Windows Store appsVisitMemberBindingVisits the children of the MemberBinding.
Protected methodSupported by Portable Class LibrarySupported in .NET for Windows Store appsVisitMemberInitVisits the children of the MemberInitExpression.
Protected methodSupported by Portable Class LibrarySupported in .NET for Windows Store appsVisitMemberListBindingVisits the children of the MemberListBinding.
Protected methodSupported by Portable Class LibrarySupported in .NET for Windows Store appsVisitMemberMemberBindingVisits the children of the MemberMemberBinding.
Protected methodSupported by Portable Class LibrarySupported in .NET for Windows Store appsVisitMethodCallVisits the children of the MethodCallExpression.
Protected methodSupported by Portable Class LibrarySupported in .NET for Windows Store appsVisitNewVisits the children of the NewExpression.
Protected methodSupported by Portable Class LibrarySupported in .NET for Windows Store appsVisitNewArrayVisits the children of the NewArrayExpression.
Protected methodSupported by Portable Class LibrarySupported in .NET for Windows Store appsVisitParameterVisits the ParameterExpression.
Protected methodSupported by Portable Class LibrarySupported in .NET for Windows Store appsVisitRuntimeVariablesVisits the children of the RuntimeVariablesExpression.
Protected methodSupported by Portable Class LibrarySupported in .NET for Windows Store appsVisitSwitchVisits the children of the SwitchExpression.
Protected methodSupported by Portable Class LibrarySupported in .NET for Windows Store appsVisitSwitchCaseVisits the children of the SwitchCase.
Protected methodSupported by Portable Class LibrarySupported in .NET for Windows Store appsVisitTryVisits the children of the TryExpression.
Protected methodSupported by Portable Class LibrarySupported in .NET for Windows Store appsVisitTypeBinaryVisits the children of the TypeBinaryExpression.
Protected methodSupported by Portable Class LibrarySupported in .NET for Windows Store appsVisitUnaryVisits the children of the UnaryExpression.
Top

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

.NET Framework

Supported in: 4.5.1, 4.5, 4

.NET Framework Client Profile

Supported in: 4

Portable Class Library

Supported in: Portable Class Library

.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.
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.