Compartir a través de


EmbeddingVisitorFilter.ShouldVisitRolePlayer (Método)

Se le llama para pedir el filtro si un rol determinado se marca como Aggregate y el encargado del rol debe ser Visited durante el recorrido

Espacio de nombres:  Microsoft.VisualStudio.Modeling
Ensamblado:  Microsoft.VisualStudio.Modeling.Sdk.12.0 (en Microsoft.VisualStudio.Modeling.Sdk.12.0.dll)

Sintaxis

'Declaración
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
)

Parámetros

Valor devuelto

Tipo: Microsoft.VisualStudio.Modeling.VisitorFilterResult

Implementaciones

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

Seguridad de .NET Framework

Vea también

Referencia

EmbeddingVisitorFilter Clase

Microsoft.VisualStudio.Modeling (Espacio de nombres)