Share via


RolePlayerChangedEventManager.Add Method

Include Protected Members
Include Inherited Members

Adds an event handler for a particular domain role.

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(DomainRoleInfo, Delegate) Adds an event handler that is called whenever any element that plays a particular role in any link is changed.
Public method Add(DomainRoleInfo, Guid, Delegate) Adds an event handler that is called whenever the element that plays a particular role in a particular link is changed.

Top

See Also

Reference

RolePlayerChangedEventManager Class

Microsoft.VisualStudio.Modeling Namespace