RolePlayerOrderChangedEventManager.Remove Method (DomainRoleInfo, Delegate)
Remove an event handler that is notified whenever the order of elements that play a particular role in relationships with any source element changes.
Namespace: Microsoft.VisualStudio.Modeling
Assembly: Microsoft.VisualStudio.Modeling.Sdk.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.12.0.dll)
Syntax
'Declaration
Public Sub Remove ( _
counterpartDomainRole As DomainRoleInfo, _
handler As Delegate _
)
public void Remove(
DomainRoleInfo counterpartDomainRole,
Delegate handler
)
public:
void Remove(
DomainRoleInfo^ counterpartDomainRole,
Delegate^ handler
)
member Remove :
counterpartDomainRole:DomainRoleInfo *
handler:Delegate -> unit
public function Remove(
counterpartDomainRole : DomainRoleInfo,
handler : Delegate
)
Parameters
counterpartDomainRole
Type: Microsoft.VisualStudio.Modeling.DomainRoleInfoThe domain role played by the Elements whose order is changed.
handler
Type: System.DelegateThe 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.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.