Freigeben über


ElementPropertyChangedEventManager.Remove Method

Definition

Overloads

Remove(DomainPropertyInfo, Delegate)

Remove an event handler that is notified whenever the value of any instance of a particular domain propertyis changed

Remove(DomainClassInfo, DomainPropertyInfo, Delegate)

Remove an event handler that is notified whenever the value of a particular property on an instance of a particular domain class (or its subclasses) is changed

Remove(DomainPropertyInfo, Guid, Delegate)

Remove an event handler that is notified whenever the value of a particular property of a particular ModelElement is changed.

Remove(DomainPropertyInfo, Delegate)

Remove an event handler that is notified whenever the value of any instance of a particular domain propertyis changed

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

Parameters

domainProperty
DomainPropertyInfo

The domain propertythat is being observed

handler
Delegate

The handler that is to be removed

Applies to

Remove(DomainClassInfo, DomainPropertyInfo, Delegate)

Remove an event handler that is notified whenever the value of a particular property on an instance of a particular domain class (or its subclasses) is changed

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

Parameters

domainClass
DomainClassInfo

The domain class that is observed

domainProperty
DomainPropertyInfo

The domain propertythat is observed

handler
Delegate

The handler that is to be removed

Applies to

Remove(DomainPropertyInfo, Guid, Delegate)

Remove an event handler that is notified whenever the value of a particular property of a particular ModelElement is changed.

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

Parameters

domainProperty
DomainPropertyInfo

The property that is observed

elementId
Guid

The Id of the ModelElement that is observed

handler
Delegate

The handler that is to be removed

Applies to