Expression.ReferenceEqual(Expression, Expression) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.