Share via


ExistingElementEventManager.Remove Method (Guid, Delegate)

Remove a handler for events on a particular element.

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

Syntax

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

Parameters

  • elementId
    Type: Guid

    The ID of the element.

  • handler
    Type: Delegate

    The handler to remove.

.NET Framework Security

See Also

Reference

ExistingElementEventManager Class

Remove Overload

Microsoft.VisualStudio.Modeling Namespace