CoreDesignSurfaceDeleteClosureBase::ShouldVisitRelationship Method (ElementWalker^, ModelElement^, DomainRoleInfo^, DomainRelationshipInfo^, ElementLink^)
Visual Studio 2015
Called to ask the filter if a particular relationship from a source element should be included in the traversal
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.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
Return Value
Type: Microsoft.VisualStudio.Modeling::VisitorFilterResult
Show: