共用方式為


EmbeddingVisitorFilter.ShouldVisitRolePlayer 方法

呼叫以要求是否彙總標記為特定的角色和角色扮演者必須周遊期間瀏覽過的篩選器

命名空間:  Microsoft.VisualStudio.Modeling
組件:  Microsoft.VisualStudio.Modeling.Sdk.11.0 (在 Microsoft.VisualStudio.Modeling.Sdk.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 安全性

請參閱

參考

EmbeddingVisitorFilter 類別

Microsoft.VisualStudio.Modeling 命名空間