共用方式為


IElementVisitorFilter.ShouldVisitRelationship 方法

呼叫以要求的篩選器是否特殊的關聯性,從來源項目應該包含在橫越

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

語法

'宣告
Function ShouldVisitRelationship ( _
    walker As ElementWalker, _
    sourceElement As ModelElement, _
    sourceRoleInfo As DomainRoleInfo, _
    domainRelationshipInfo As DomainRelationshipInfo, _
    targetRelationship As ElementLink _
) As VisitorFilterResult
VisitorFilterResult ShouldVisitRelationship(
    ElementWalker walker,
    ModelElement sourceElement,
    DomainRoleInfo sourceRoleInfo,
    DomainRelationshipInfo domainRelationshipInfo,
    ElementLink targetRelationship
)

參數

傳回值

型別:Microsoft.VisualStudio.Modeling.VisitorFilterResult
[是],如果應該周遊關聯性

.NET Framework 安全性

請參閱

參考

IElementVisitorFilter 介面

Microsoft.VisualStudio.Modeling 命名空間