Del via


Extensions.Swap(RelationshipType) Method

Definition

Swap operation between RelationshipType.Generalizes and RelationshipType.Specializes. If the original is RelationshipType.Specializes, the swap operation returns RelationshipType.Generalizes. If the original is RelationshipType.Generalizes, the swap operation returns RelationshipType.Specializes. Otherwise, the swap operation returns the original RelationType.

public static AdaptiveExpressions.TriggerTrees.RelationshipType Swap (this AdaptiveExpressions.TriggerTrees.RelationshipType original);
static member Swap : AdaptiveExpressions.TriggerTrees.RelationshipType -> AdaptiveExpressions.TriggerTrees.RelationshipType
<Extension()>
Public Function Swap (original As RelationshipType) As RelationshipType

Parameters

original
RelationshipType

The original RelationType.

Returns

The RelationshipType after the swap.

Applies to