Share via


DomainPropertyValueHandler<TElement, TValue>.ValueChanged Method

Adds a transaction record and raises the OnValueChanged event.

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

Syntax

'Declaration
Protected Sub ValueChanged ( _
    element As TElement, _
    oldValue As TValue, _
    newValue As TValue _
)
protected void ValueChanged(
    TElement element,
    TValue oldValue,
    TValue newValue
)
protected:
void ValueChanged(
    TElement element, 
    TValue oldValue, 
    TValue newValue
)
member ValueChanged : 
        element:'TElement * 
        oldValue:'TValue * 
        newValue:'TValue -> unit
protected function ValueChanged(
    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.

Remarks

This method is called by SetValue after the value has been changed.

.NET Framework Security

See Also

Reference

DomainPropertyValueHandler<TElement, TValue> Class

Microsoft.VisualStudio.Modeling Namespace