共用方式為


DslModelExplorerFilter.ShouldVisitRelationship 方法

呼叫以詢問的篩選器,特殊的關聯性,從來源項目是否標示為彙總,並且應該包含在橫越

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

語法

'宣告
Public Overrides Function ShouldVisitRelationship ( _
    walker As ElementWalker, _
    sourceElement As ModelElement, _
    sourceRoleInfo As DomainRoleInfo, _
    domainRelationshipInfo As DomainRelationshipInfo, _
    targetRelationship As ElementLink _
) As VisitorFilterResult
public override 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 安全性

請參閱

參考

DslModelExplorerFilter 類別

Microsoft.VisualStudio.Modeling.Shell 命名空間