共用方式為


CoreDesignSurfaceDeleteClosureBase.ShouldVisitRelationship 方法

呼叫以要求篩選器來源項目中的特定關聯性是否應包含在周遊中

命名空間:  Microsoft.VisualStudio.Modeling.Diagrams
組件:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0 (在 Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll 中)

語法

'宣告
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
)

參數

傳回值

類型:Microsoft.VisualStudio.Modeling.VisitorFilterResult

實作

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

.NET Framework 安全性

請參閱

參考

CoreDesignSurfaceDeleteClosureBase 類別

Microsoft.VisualStudio.Modeling.Diagrams 命名空間