共用方式為


RolePlayerOrderChangedEventManager.Add Method

Include Protected Members
Include Inherited Members

Adds an event handler that is notified whenever the order of elements that play a particular domain role changes.

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 notified whenever the order of elements that play a particular domain role changes for any source element.
Public method Add(DomainRoleInfo, Guid, Delegate) Adds an event handler that is notified whenever the order of elements that play a particular role in relationships with a particular source element changes.

Top

See Also

Reference

RolePlayerOrderChangedEventManager Class

Microsoft.VisualStudio.Modeling Namespace