Share via


RolePlayerOrderChangedEventManager.Remove Method

Definition

Overloads

Remove(DomainRoleInfo, Delegate)

Remove an event handler that is notified whenever the order of Elements playing a particular role in relationships with any source ModelElement changes

Remove(DomainRoleInfo, Guid, Delegate)

Remove an event handler that is notified whenever the order of Elements playing a particular role in relationships with a particular source ModelElement changes

Remove(DomainRoleInfo, Delegate)

Remove an event handler that is notified whenever the order of Elements playing a particular role in relationships with any source ModelElement changes

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)

Parameters

counterpartDomainRole
DomainRoleInfo

The domain role played by the Elements whose order is changed

handler
Delegate

The handler to remove

Remarks

For example, remove an event handler that is notified whenever the order of child columns is changed for any database table. In this example, the "counterpart domain role" is the child-column role.

Applies to

Remove(DomainRoleInfo, Guid, Delegate)

Remove an event handler that is notified whenever the order of Elements playing a particular role in relationships with a particular source ModelElement changes

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)

Parameters

counterpartDomainRole
DomainRoleInfo

The role played by the elements whose order is changed

sourceElementId
Guid

The Id of the (parent) ModelElement ordering the (child) counterparts

handler
Delegate

The handler to remove

Remarks

For example, remove an event handler that is called whenever the order of the columns of the Authors table is changed. In this example, the "counterpart domain role" is the child-column role, while the "source ModelElement" is the Authors table.

Applies to