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