Compartilhar via


RolePlayerChangedEventManager.Remove Method

Definition

Overloads

Remove(DomainRoleInfo, Delegate)

Remove an event handler that is called whenever any ModelElement playing a particular role in any ElementLink is changed

Remove(DomainRoleInfo, Guid, Delegate)

Remove an event handler that is called whenever the ModelElement playing a particular role in a particular ElementLink is changed

Remove(DomainRoleInfo, Delegate)

Remove an event handler that is called whenever any ModelElement playing a particular role in any ElementLink is changed

public:
 void Remove(Microsoft::VisualStudio::Modeling::DomainRoleInfo ^ domainRole, Delegate ^ handler);
public void Remove (Microsoft.VisualStudio.Modeling.DomainRoleInfo domainRole, Delegate handler);
override this.Remove : Microsoft.VisualStudio.Modeling.DomainRoleInfo * Delegate -> unit
Public Sub Remove (domainRole As DomainRoleInfo, handler As Delegate)

Parameters

domainRole
DomainRoleInfo

The domain role that is observed

handler
Delegate

The handler to remove

Applies to

Remove(DomainRoleInfo, Guid, Delegate)

Remove an event handler that is called whenever the ModelElement playing a particular role in a particular ElementLink is changed

public:
 void Remove(Microsoft::VisualStudio::Modeling::DomainRoleInfo ^ domainRole, Guid elementLinkId, Delegate ^ handler);
public void Remove (Microsoft.VisualStudio.Modeling.DomainRoleInfo domainRole, Guid elementLinkId, Delegate handler);
override this.Remove : Microsoft.VisualStudio.Modeling.DomainRoleInfo * Guid * Delegate -> unit
Public Sub Remove (domainRole As DomainRoleInfo, elementLinkId As Guid, handler As Delegate)

Parameters

domainRole
DomainRoleInfo

The domain role that is observed

elementLinkId
Guid

The Id of the ModelElement that is observed

handler
Delegate

The handler to remove

Applies to