Compartilhar via


ElementEventManager.Add Method (DomainClassInfo, Delegate)

Adds a handler for events at the domain class level.

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

Syntax

'Declaração
Public Sub Add ( _
    domainClass As DomainClassInfo, _
    handler As Delegate _
)
public void Add(
    DomainClassInfo domainClass,
    Delegate handler
)
public:
void Add(
    DomainClassInfo^ domainClass, 
    Delegate^ handler
)
member Add : 
        domainClass:DomainClassInfo * 
        handler:Delegate -> unit 
public function Add(
    domainClass : DomainClassInfo, 
    handler : Delegate
)

Parameters

.NET Framework Security

See Also

Reference

ElementEventManager Class

Add Overload

Microsoft.VisualStudio.Modeling Namespace