DomainPropertyValueHandler<TElement, TValue>.ValueChanged Method
Adds a transaction record and raises the OnValueChanged event.
Namespace: Microsoft.VisualStudio.Modeling
Assembly: Microsoft.VisualStudio.Modeling.Sdk.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.10.0.dll)
Syntax
'Dichiarazione
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
- element
Type: TElement
The element.
- 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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.