Partager via


ElementPropertyChangedEventManager.Add Method

Include Protected Members
Include Inherited Members

Adds an event handler that is notified whenever the value of a particular domain property is changed.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

Overload List

  Name Description
Public method Add(Delegate) Adds an event handler delegate for global event notifications. (Inherited from GlobalEventManager.)
Public method Add(Guid, Delegate) Add a handler for events on a particular element. (Inherited from ExistingElementEventManager.)
Public method Add(DomainClassInfo, Delegate) Adds a handler for events at the domain class level. (Inherited from ElementEventManager.)
Public method Add(DomainModelInfo, Delegate) Adds a handler for events at the domain model level. (Inherited from ElementEventManager.)
Public method Add(DomainPropertyInfo, Delegate) Adds an event handler that is notified whenever the value of any instance of a particular domain property is changed.
Public method Add(DomainClassInfo, DomainPropertyInfo, Delegate) Adds 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 method Add(DomainPropertyInfo, Guid, Delegate) Adds an event handler that is notified whenever the value of a particular property of a particular element is changed.

Top

See Also

Reference

ElementPropertyChangedEventManager Class

Microsoft.VisualStudio.Modeling Namespace