RolePlayerOrderChangedEventManager.Remove Method (DomainRoleInfo, Guid, Delegate)
Remove an event handler that is notified whenever the order of elements that play a particular role in relationships with a particular source element changes.
Namespace: Microsoft.VisualStudio.Modeling
Assembly: Microsoft.VisualStudio.Modeling.Sdk.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.10.0.dll)
Syntax
'Declaração
Public Sub Remove ( _
counterpartDomainRole As DomainRoleInfo, _
sourceElementId As Guid, _
handler As Delegate _
)
public void Remove(
DomainRoleInfo counterpartDomainRole,
Guid sourceElementId,
Delegate handler
)
public:
void Remove(
DomainRoleInfo^ counterpartDomainRole,
Guid sourceElementId,
Delegate^ handler
)
member Remove :
counterpartDomainRole:DomainRoleInfo *
sourceElementId:Guid *
handler:Delegate -> unit
public function Remove(
counterpartDomainRole : DomainRoleInfo,
sourceElementId : Guid,
handler : Delegate
)
Parameters
- counterpartDomainRole
Type: Microsoft.VisualStudio.Modeling.DomainRoleInfo
The role played by the elements whose order is changed.
- sourceElementId
Type: System.Guid
The ID of the parent element that orders the child counterparts.
- handler
Type: System.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.
.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.