RolePlayerOrderChangedEventManager.Remove 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
| Remove(DomainRoleInfo, Delegate) |
删除一个事件处理程序,只要在与任何源 ModelElement 的关系中扮演某个特定角色的元素的顺序进行更改,就会收到通知 |
| Remove(DomainRoleInfo, Guid, Delegate) |
删除一个事件处理程序,只要在与特定的源 ModelElement 的关系中扮演特定角色的元素的顺序改变,就会收到通知 |
Remove(DomainRoleInfo, Delegate)
删除一个事件处理程序,只要在与任何源 ModelElement 的关系中扮演某个特定角色的元素的顺序进行更改,就会收到通知
public:
void Remove(Microsoft::VisualStudio::Modeling::DomainRoleInfo ^ counterpartDomainRole, Delegate ^ handler);
public void Remove (Microsoft.VisualStudio.Modeling.DomainRoleInfo counterpartDomainRole, Delegate handler);
override this.Remove : Microsoft.VisualStudio.Modeling.DomainRoleInfo * Delegate -> unit
Public Sub Remove (counterpartDomainRole As DomainRoleInfo, handler As Delegate)
参数
- counterpartDomainRole
- DomainRoleInfo
其顺序已更改的元素扮演的域角色
- handler
- Delegate
要移除的处理程序
注解
例如,删除在任何数据库表的子列的顺序发生更改时通知的事件处理程序。 在此示例中,"对应域角色" 是子列角色。
适用于
Remove(DomainRoleInfo, Guid, Delegate)
删除一个事件处理程序,只要在与特定的源 ModelElement 的关系中扮演特定角色的元素的顺序改变,就会收到通知
public:
void Remove(Microsoft::VisualStudio::Modeling::DomainRoleInfo ^ counterpartDomainRole, Guid sourceElementId, Delegate ^ handler);
public void Remove (Microsoft.VisualStudio.Modeling.DomainRoleInfo counterpartDomainRole, Guid sourceElementId, Delegate handler);
override this.Remove : Microsoft.VisualStudio.Modeling.DomainRoleInfo * Guid * Delegate -> unit
Public Sub Remove (counterpartDomainRole As DomainRoleInfo, sourceElementId As Guid, handler As Delegate)
参数
- counterpartDomainRole
- DomainRoleInfo
其顺序已更改的元素所扮演的角色
- sourceElementId
- Guid
(父) 的 Id,该 Id 对 (子)
- handler
- Delegate
要移除的处理程序
注解
例如,删除在作者表的列顺序发生更改时调用的事件处理程序。 在此示例中,"对应域角色" 是子列角色,而 "source ModelElement" 是作者表。