CoreDesignSurfaceDeleteClosureBase.ShouldVisitRolePlayer 方法

调用需要针对遍历期间,因此,如果特定角色扮演者应调用

命名空间:  Microsoft.VisualStudio.Modeling.Diagrams
程序集:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0(在 Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0.dll 中)

语法

声明
Public Overridable Function ShouldVisitRolePlayer ( _
    walker As ElementWalker, _
    sourceElement As ModelElement, _
    elementLink As ElementLink, _
    targetDomainRole As DomainRoleInfo, _
    targetRolePlayer As ModelElement _
) As VisitorFilterResult
public virtual VisitorFilterResult ShouldVisitRolePlayer(
    ElementWalker walker,
    ModelElement sourceElement,
    ElementLink elementLink,
    DomainRoleInfo targetDomainRole,
    ModelElement targetRolePlayer
)

参数

返回值

类型:Microsoft.VisualStudio.Modeling.VisitorFilterResult

实现

IElementVisitorFilter.ShouldVisitRolePlayer(ElementWalker, ModelElement, ElementLink, DomainRoleInfo, ModelElement)

.NET Framework 安全性

请参见

参考

CoreDesignSurfaceDeleteClosureBase 类

Microsoft.VisualStudio.Modeling.Diagrams 命名空间