DefaultVisitorFilter.ShouldVisitRolePlayer Method
Called to ask the filter if a particular role's counterpart should be Visited during traversal. By default, returns true;
Namespace: Microsoft.VisualStudio.Modeling
Assembly: Microsoft.VisualStudio.Modeling.Sdk.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.12.0.dll)
'Declaration
Public Overridable Function ShouldVisitRolePlayer ( _
walker As ElementWalker, _
sourceElement As ModelElement, _
elementLink As ElementLink, _
targetDomainRole As DomainRoleInfo, _
targetRolePlayer As ModelElement _
) As VisitorFilterResult
public virtual VisitorFilterResult ShouldVisitRolePlayer(
ElementWalker walker,
ModelElement sourceElement,
ElementLink elementLink,
DomainRoleInfo targetDomainRole,
ModelElement targetRolePlayer
)
public:
virtual VisitorFilterResult ShouldVisitRolePlayer(
ElementWalker^ walker,
ModelElement^ sourceElement,
ElementLink^ elementLink,
DomainRoleInfo^ targetDomainRole,
ModelElement^ targetRolePlayer
)
abstract ShouldVisitRolePlayer :
walker:ElementWalker *
sourceElement:ModelElement *
elementLink:ElementLink *
targetDomainRole:DomainRoleInfo *
targetRolePlayer:ModelElement -> VisitorFilterResult
override ShouldVisitRolePlayer :
walker:ElementWalker *
sourceElement:ModelElement *
elementLink:ElementLink *
targetDomainRole:DomainRoleInfo *
targetRolePlayer:ModelElement -> VisitorFilterResult
public function ShouldVisitRolePlayer(
walker : ElementWalker,
sourceElement : ModelElement,
elementLink : ElementLink,
targetDomainRole : DomainRoleInfo,
targetRolePlayer : ModelElement
) : VisitorFilterResult
walker
Type: Microsoft.VisualStudio.Modeling.ElementWalkerElementWalker that is traversing the model
sourceElement
Type: Microsoft.VisualStudio.Modeling.ModelElementModel Element playing the source role
elementLink
Type: Microsoft.VisualStudio.Modeling.ElementLinkElement Link that forms the relationship to the role player in question
targetDomainRole
Type: Microsoft.VisualStudio.Modeling.DomainRoleInfoDomainRoleInfo of the target role
targetRolePlayer
Type: Microsoft.VisualStudio.Modeling.ModelElementModel Element that plays the target role in the relationship
Type: Microsoft.VisualStudio.Modeling.VisitorFilterResult
Called to ask the filter if a particular role's counterpart should be Visited during traversal. By default, returns true;
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.