共用方式為


IElementVisitorFilter.ShouldVisitRolePlayer 方法

呼叫以要求篩選周遊期間,應該會造訪特定的角色扮演者

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

語法

'宣告
Function ShouldVisitRolePlayer ( _
    walker As ElementWalker, _
    sourceElement As ModelElement, _
    elementLink As ElementLink, _
    targetDomainRole As DomainRoleInfo, _
    targetRolePlayer As ModelElement _
) As VisitorFilterResult
VisitorFilterResult ShouldVisitRolePlayer(
    ElementWalker walker,
    ModelElement sourceElement,
    ElementLink elementLink,
    DomainRoleInfo targetDomainRole,
    ModelElement targetRolePlayer
)

參數

傳回值

型別:Microsoft.VisualStudio.Modeling.VisitorFilterResult

.NET Framework 安全性

請參閱

參考

IElementVisitorFilter 介面

Microsoft.VisualStudio.Modeling 命名空間