Partilhar via


ElementPropertyChangedEventManager.Add Method (DomainClassInfo, DomainPropertyInfo, Delegate)

Adds an event handler that is notified whenever the value of a particular property on an instance of a particular domain class, or its subclasses, is changed.

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, _
    domainProperty As DomainPropertyInfo, _
    handler As Delegate _
)
public void Add(
    DomainClassInfo domainClass,
    DomainPropertyInfo domainProperty,
    Delegate handler
)
public:
void Add(
    DomainClassInfo^ domainClass, 
    DomainPropertyInfo^ domainProperty, 
    Delegate^ handler
)
member Add : 
        domainClass:DomainClassInfo * 
        domainProperty:DomainPropertyInfo * 
        handler:Delegate -> unit 
public function Add(
    domainClass : DomainClassInfo, 
    domainProperty : DomainPropertyInfo, 
    handler : Delegate
)

Parameters

.NET Framework Security

See Also

Reference

ElementPropertyChangedEventManager Class

Add Overload

Microsoft.VisualStudio.Modeling Namespace