CopyClosureFilter::ShouldVisitRolePlayer Method (ElementWalker^, ModelElement^, ElementLink^, DomainRoleInfo^, ModelElement^)

 

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

Namespace:   Microsoft.VisualStudio.Modeling
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.12.0.dll)

public:
virtual VisitorFilterResult ShouldVisitRolePlayer(
	ElementWalker^ walker,
	ModelElement^ sourceElement,
	ElementLink^ elementLink,
	DomainRoleInfo^ targetDomainRole,
	ModelElement^ targetRolePlayer
)

Parameters

walker
Type: Microsoft.VisualStudio.Modeling::ElementWalker^

ElementWalker traversing the model

sourceElement
Type: Microsoft.VisualStudio.Modeling::ModelElement^

Model Element playing the source role

elementLink
Type: Microsoft.VisualStudio.Modeling::ElementLink^

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

targetDomainRole
Type: Microsoft.VisualStudio.Modeling::DomainRoleInfo^

DomainRoleInfo of the target role

targetRolePlayer
Type: Microsoft.VisualStudio.Modeling::ModelElement^

Model Element that plays the target role in the relationship

Return to top
Show: