CoreDesignSurfaceDeleteClosureBase.ShouldVisitRelationship 方法

调用需要筛选器,如果从源元素的特定关系应在遍历由

命名空间:  Microsoft.VisualStudio.Modeling.Diagrams
程序集:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0(在 Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.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 命名空间