Expression.ReferenceNotEqual(Expression, Expression) Method

Definition

Creates a BinaryExpression that represents a reference inequality comparison.

public:
 static System::Linq::Expressions::BinaryExpression ^ ReferenceNotEqual(System::Linq::Expressions::Expression ^ left, System::Linq::Expressions::Expression ^ right);
public static System.Linq.Expressions.BinaryExpression ReferenceNotEqual (System.Linq.Expressions.Expression left, System.Linq.Expressions.Expression right);
static member ReferenceNotEqual : System.Linq.Expressions.Expression * System.Linq.Expressions.Expression -> System.Linq.Expressions.BinaryExpression
Public Shared Function ReferenceNotEqual (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 NotEqual and the Left and Right properties set to the specified values.

Applies to