Partilhar via


Método CoreDesignSurfaceDeleteClosureBase.ShouldVisitRelationship

Chamado para pedir o filtro se uma relação específica de um elemento de origem deve ser incluída na travessia

Namespace:  Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0 (em Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0.dll)

Sintaxe

'Declaração
Public Overridable Function ShouldVisitRelationship ( _
    walker As ElementWalker, _
    sourceElement As ModelElement, _
    sourceRoleInfo As DomainRoleInfo, _
    domainRelationshipInfo As DomainRelationshipInfo, _
    targetRelationship As ElementLink _
) As VisitorFilterResult
public virtual VisitorFilterResult ShouldVisitRelationship(
    ElementWalker walker,
    ModelElement sourceElement,
    DomainRoleInfo sourceRoleInfo,
    DomainRelationshipInfo domainRelationshipInfo,
    ElementLink targetRelationship
)

Parâmetros

Valor de retorno

Tipo: Microsoft.VisualStudio.Modeling.VisitorFilterResult

Implementações

IElementVisitorFilter.ShouldVisitRelationship(ElementWalker, ModelElement, DomainRoleInfo, DomainRelationshipInfo, ElementLink)

Segurança do .NET Framework

Consulte também

Referência

CoreDesignSurfaceDeleteClosureBase Classe

Namespace Microsoft.VisualStudio.Modeling.Diagrams