CoreDeleteClosureBase.ShouldVisitRolePlayer Method

Definition

Called to ask the filter if a particular role player should be Visited during traversal

C++
public:
 virtual Microsoft::VisualStudio::Modeling::VisitorFilterResult ShouldVisitRolePlayer(Microsoft::VisualStudio::Modeling::ElementWalker ^ walker, Microsoft::VisualStudio::Modeling::ModelElement ^ sourceElement, Microsoft::VisualStudio::Modeling::ElementLink ^ elementLink, Microsoft::VisualStudio::Modeling::DomainRoleInfo ^ targetDomainRole, Microsoft::VisualStudio::Modeling::ModelElement ^ targetRolePlayer);

Parameters

walker
ElementWalker

ElementWalker that is traversing the model

sourceElement
ModelElement

Model Element playing the source role

elementLink
ElementLink

Element Link that forms the relationship to the role player in question

targetDomainRole
DomainRoleInfo

DomainRoleInfo of the target role

targetRolePlayer
ModelElement

Model Element that plays the target role in the relationship

Returns

Implements

Applies to

Produkt Versiounen
Visual Studio SDK 2017, 2019, 2022