Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

CoreDesignSurfaceDeleteClosureBase.ShouldVisitRelationship Method

Called to ask the filter if a particular relationship from a source element should be included in the traversal

Namespace:  Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0.dll)
public virtual VisitorFilterResult ShouldVisitRelationship(
	ElementWalker walker,
	ModelElement sourceElement,
	DomainRoleInfo sourceRoleInfo,
	DomainRelationshipInfo domainRelationshipInfo,
	ElementLink targetRelationship
)

Parameters

walker
Type: Microsoft.VisualStudio.Modeling.ElementWalker

ElementWalker that is traversing the model

sourceElement
Type: Microsoft.VisualStudio.Modeling.ModelElement

Model Element playing the source role

sourceRoleInfo
Type: Microsoft.VisualStudio.Modeling.DomainRoleInfo

DomainRoleInfo of the role that the source element is playing in the relationship

domainRelationshipInfo
Type: Microsoft.VisualStudio.Modeling.DomainRelationshipInfo

DomainRelationshipInfo for the ElementLink in question

targetRelationship
Type: Microsoft.VisualStudio.Modeling.ElementLink

Relationship in question

Implements

IElementVisitorFilter.ShouldVisitRelationship(ElementWalker, ModelElement, DomainRoleInfo, DomainRelationshipInfo, ElementLink)
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.