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 命名空间