Share via


IPredicateComparer.Relationship(Expression, Expression) Method

Definition

Identify the relationship between two predicates.

public AdaptiveExpressions.TriggerTrees.RelationshipType Relationship (AdaptiveExpressions.Expression predicate, AdaptiveExpressions.Expression other);
abstract member Relationship : AdaptiveExpressions.Expression * AdaptiveExpressions.Expression -> AdaptiveExpressions.TriggerTrees.RelationshipType
Public Function Relationship (predicate As Expression, other As Expression) As RelationshipType

Parameters

predicate
Expression

First predicate.

other
Expression

Second predicate.

Returns

Relationship between predicates.

Remarks

This is useful for doing things like identifying that Range("size", 1, 5) is more specialized than Range("size", 1, 10).

Applies to