Share via


ElementEventManager.Remove Method (DomainModelInfo, Delegate)

Removes an event handler for a particular domain model.

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

Syntax

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

Parameters

  • handler
    Type: Delegate

    The event handler.

.NET Framework Security

See Also

Reference

ElementEventManager Class

Remove Overload

Microsoft.VisualStudio.Modeling Namespace