T
Replace<T> Method
See Also 
System.Linq.Expressions Namespace > ExpressionExtensions Class : Replace<T> Method



target
oldExpression
newExpression

Glossary Item Box

Syntax

Visual Basic (Declaration)  
<ExtensionAttribute()>
Public Shared Function Replace(Of T As Expression)( _
   ByVal target As T, _
   ByVal oldExpression As Expression, _
   ByVal newExpression As Expression _
) As T
Visual Basic (Usage) Copy Code
Dim target As T
Dim oldExpression As Expression
Dim newExpression As Expression
Dim value As T
 
value = ExpressionExtensions.Replace(Of T)(target, oldExpression, newExpression)
C#  
[Extension()]
public static T Replace<T>( 
   T target,
   Expression oldExpression,
   Expression newExpression
)
where T: Expression
C++/CLI  
[Extension()]
public:
static T^ Replacegeneric<typename T>
( 
   T^ target,
   Expression^ oldExpression,
   Expression^ newExpression
) 
where T: Expression

Parameters

target
oldExpression
newExpression

Type Parameters

T

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also