RolePlayerOrderChangedEventManager.Remove 方法 (DomainRoleInfo, Guid, Delegate)

移除进行通知的事件处理程序,只要使用元素的顺序关系中的特殊效果与特定源元素更改。

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

语法

声明
Public Sub Remove ( _
    counterpartDomainRole As DomainRoleInfo, _
    sourceElementId As Guid, _
    handler As Delegate _
)
public void Remove(
    DomainRoleInfo counterpartDomainRole,
    Guid sourceElementId,
    Delegate handler
)

参数

  • sourceElementId
    类型:System.Guid
    对子元素与父元素的 ID。

备注

例如,请移除调用的事件处理程序,只要更改 authors 表的列的顺序。在此示例中,,而该 “源 ModelElement”是 authors 表, “复制字段角色”是子列角色。

.NET Framework 安全性

请参见

参考

RolePlayerOrderChangedEventManager 类

Remove 重载

Microsoft.VisualStudio.Modeling 命名空间