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 (in Microsoft.VisualStudio.Modeling.Sdk.dll)

Syntax

'宣言
Public Sub Remove ( _
    domainRole As DomainRoleInfo, _
    handler As Delegate _
)
'使用
Dim instance As RolePlayerChangedEventManager
Dim domainRole As DomainRoleInfo
Dim handler As Delegate

instance.Remove(domainRole, handler)
public void Remove(
    DomainRoleInfo domainRole,
    Delegate handler
)
public:
void Remove(
    DomainRoleInfo^ domainRole, 
    Delegate^ handler
)
public function Remove(
    domainRole : DomainRoleInfo, 
    handler : Delegate
)

Parameters

Permissions

See Also

Reference

RolePlayerChangedEventManager Class

RolePlayerChangedEventManager Members

Remove Overload

Microsoft.VisualStudio.Modeling Namespace