共用方式為


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