Share via


DomainPropertyValueHandler<TElement, TValue>.OnValueChanged Method

Occurs after a property value has been changed.

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

Syntax

'Declaration
Protected Overridable Sub OnValueChanged ( _
    element As TElement, _
    oldValue As TValue, _
    newValue As TValue _
)
protected virtual void OnValueChanged(
    TElement element,
    TValue oldValue,
    TValue newValue
)
protected:
virtual void OnValueChanged(
    TElement element, 
    TValue oldValue, 
    TValue newValue
)
abstract OnValueChanged : 
        element:'TElement * 
        oldValue:'TValue * 
        newValue:'TValue -> unit  
override OnValueChanged : 
        element:'TElement * 
        oldValue:'TValue * 
        newValue:'TValue -> unit
protected function OnValueChanged(
    element : TElement, 
    oldValue : TValue, 
    newValue : TValue
)

Parameters

  • oldValue
    Type: TValue

    The current value of the property.

  • newValue
    Type: TValue

    The new value of the property.

.NET Framework Security

See Also

Reference

DomainPropertyValueHandler<TElement, TValue> Class

Microsoft.VisualStudio.Modeling Namespace

Other Resources

Domain Property Value Change Handlers