Freigeben über


ElementEventManager.Remove Method

Definition

Overloads

Remove(DomainClassInfo, Delegate)

Removes an event handler for a particular domain class or domain relationship

Remove(DomainModelInfo, Delegate)

Removes an event handler for a particular domain model

Remove(DomainClassInfo, Delegate)

Removes an event handler for a particular domain class or domain relationship

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

Parameters

domainClass
DomainClassInfo

The domain class whose event handler is to be removed

handler
Delegate

The event handler

Applies to

Remove(DomainModelInfo, Delegate)

Removes an event handler for a particular domain model

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

Parameters

domainModel
DomainModelInfo

The domain model whose event handler is to be removed

handler
Delegate

The event handler

Applies to