RolePlayerChangedEventManager.Add 方法 (DomainRoleInfo, Delegate)

添加调用的事件处理程序,不论何时变更在任何链接中扮演特定角色的任何元素。

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

语法

声明
Public Sub Add ( _
    domainRole As DomainRoleInfo, _
    handler As Delegate _
)
public void Add(
    DomainRoleInfo domainRole,
    Delegate handler
)

参数

.NET Framework 安全性

请参阅

参考

RolePlayerChangedEventManager 类

Add 重载

Microsoft.VisualStudio.Modeling 命名空间