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