Extensions.Swap(RelationshipType) 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.
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.