共用方式為


RolePlayerChangedEventManager.Remove Method

Include Protected Members
Include Inherited Members

Removes 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 Remove(Delegate) Removes an event handler delegate from global event notifications. (Inherited from GlobalEventManager.)
Public method Remove(Guid, Delegate) Remove a handler for events on a particular element. (Inherited from ExistingElementEventManager.)
Public method Remove(DomainClassInfo, Delegate) Removes an event handler for a domain class or domain relationship. (Inherited from ElementEventManager.)
Public method Remove(DomainModelInfo, Delegate) Removes an event handler for a particular domain model. (Inherited from ElementEventManager.)
Public method Remove(DomainRoleInfo, Delegate) Removes an event handler that is called whenever any element that plays a particular role in any link is changed.
Public method Remove(DomainRoleInfo, Guid, Delegate) Removes 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