Редагувати

Поділитися через


Expression.ReferenceEqual(Expression, Expression) Method

Definition

Creates a BinaryExpression that represents a reference equality comparison.

public:
 static System::Linq::Expressions::BinaryExpression ^ ReferenceEqual(System::Linq::Expressions::Expression ^ left, System::Linq::Expressions::Expression ^ right);
public static System.Linq.Expressions.BinaryExpression ReferenceEqual (System.Linq.Expressions.Expression left, System.Linq.Expressions.Expression right);
static member ReferenceEqual : System.Linq.Expressions.Expression * System.Linq.Expressions.Expression -> System.Linq.Expressions.BinaryExpression
Public Shared Function ReferenceEqual (left As Expression, right As Expression) As BinaryExpression

Parameters

left
Expression

An Expression to set the Left property equal to.

right
Expression

An Expression to set the Right property equal to.

Returns

A BinaryExpression that has the NodeType property equal to Equal and the Left and Right properties set to the specified values.

Applies to