다음을 통해 공유


DslDefinitionModelDeleteClosureBase.ShouldVisitRolePlayer Method

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

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

Syntax

'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

Parameters

Return Value

Type: Microsoft.VisualStudio.Modeling.VisitorFilterResult

Implements

IElementVisitorFilter.ShouldVisitRolePlayer(ElementWalker, ModelElement, ElementLink, DomainRoleInfo, ModelElement)

.NET Framework Security

See Also

Reference

DslDefinitionModelDeleteClosureBase Class

Microsoft.VisualStudio.Modeling.DslDefinition Namespace