Skip to content

M_CodeJam_Expressions_ExpressionExtensions_Find_1

Andrew Koryavchenko edited this page Jun 17, 2018 · 5 revisions

ExpressionExtensions.Find Method (Expression, Expression)

Finds an expression in expression tree.

Namespace: CodeJam.Expressions
Assembly: CodeJam (in CodeJam.dll) Version: 2.1.0.0

Syntax

C#

public static Expression Find(
	this Expression expr,
	Expression exprToFind
)

VB

<ExtensionAttribute>
Public Shared Function Find ( 
	expr As Expression,
	exprToFind As Expression
) As Expression

F#

[<ExtensionAttribute>]
static member Find : 
        expr : Expression * 
        exprToFind : Expression -> Expression 

Parameters

 

expr
Type: System.Linq.Expressions.Expression
Expression to VisitInternal.
exprToFind
Type: System.Linq.Expressions.Expression
Expression to find.

Return Value

Type: Expression
Found expression or null.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type Expression. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).

See Also

Reference

ExpressionExtensions Class
Find Overload
CodeJam.Expressions Namespace

Clone this wiki locally