Partager via


ElementPropertyChangedEventManager.Remove Method (DomainPropertyInfo, Guid, Delegate)

Removes an event handler that is notified whenever the value of any instance of a particular domain property is changed.

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

Syntax

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

Parameters

  • elementId
    Type: System.Guid

    The ID of the element to observe.

.NET Framework Security

See Also

Reference

ElementPropertyChangedEventManager Class

Remove Overload

Microsoft.VisualStudio.Modeling Namespace