RolePlayerChangedEventManager.Remove Method (DomainRoleInfo, Delegate)
Removes an event handler that is called whenever any element that plays a particular role in any link is changed.
Namespace: Microsoft.VisualStudio.Modeling
Assembly: Microsoft.VisualStudio.Modeling.Sdk.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.12.0.dll)
Syntax
'Declaration
Public Sub Remove ( _
domainRole As DomainRoleInfo, _
handler As Delegate _
)
public void Remove(
DomainRoleInfo domainRole,
Delegate handler
)
public:
void Remove(
DomainRoleInfo^ domainRole,
Delegate^ handler
)
member Remove :
domainRole:DomainRoleInfo *
handler:Delegate -> unit
public function Remove(
domainRole : DomainRoleInfo,
handler : Delegate
)
Parameters
domainRole
Type: Microsoft.VisualStudio.Modeling.DomainRoleInfoThe domain role that is observed.
handler
Type: System.DelegateThe handler to remove.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.