Freigeben über


IElementVisitorFilter.ShouldVisitRolePlayer Method

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

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

Syntax

'Declaration
Function ShouldVisitRolePlayer ( _
    walker As ElementWalker, _
    sourceElement As ModelElement, _
    elementLink As ElementLink, _
    targetDomainRole As DomainRoleInfo, _
    targetRolePlayer As ModelElement _
) As VisitorFilterResult
VisitorFilterResult ShouldVisitRolePlayer(
    ElementWalker walker,
    ModelElement sourceElement,
    ElementLink elementLink,
    DomainRoleInfo targetDomainRole,
    ModelElement targetRolePlayer
)
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 
function ShouldVisitRolePlayer(
    walker : ElementWalker, 
    sourceElement : ModelElement, 
    elementLink : ElementLink, 
    targetDomainRole : DomainRoleInfo, 
    targetRolePlayer : ModelElement
) : VisitorFilterResult

Parameters

Return Value

Type: Microsoft.VisualStudio.Modeling.VisitorFilterResult

.NET Framework Security

See Also

Reference

IElementVisitorFilter Interface

Microsoft.VisualStudio.Modeling Namespace