Share via


RolePlayerChangedEventManager.Remove Method (DomainRoleInfo, Guid, Delegate)

Removes an event handler that is called whenever the element that plays a particular role in a particular link is changed.

Namespace:  Microsoft.VisualStudio.Modeling
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.11.0.dll)

Syntax

'Declaration
Public Sub Remove ( _
    domainRole As DomainRoleInfo, _
    elementLinkId As Guid, _
    handler As Delegate _
)
public void Remove(
    DomainRoleInfo domainRole,
    Guid elementLinkId,
    Delegate handler
)
public:
void Remove(
    DomainRoleInfo^ domainRole, 
    Guid elementLinkId, 
    Delegate^ handler
)
member Remove : 
        domainRole:DomainRoleInfo * 
        elementLinkId:Guid * 
        handler:Delegate -> unit
public function Remove(
    domainRole : DomainRoleInfo, 
    elementLinkId : Guid, 
    handler : Delegate
)

Parameters

  • elementLinkId
    Type: Guid

    The ID of the element that is observed.

  • handler
    Type: Delegate

    The handler to remove.

.NET Framework Security

See Also

Reference

RolePlayerChangedEventManager Class

Remove Overload

Microsoft.VisualStudio.Modeling Namespace