DomainPropertyValueHandler<TElement, TValue>.OnValueChanging Method
Alerts listeners when a property value is about to change.
Namespace: Microsoft.VisualStudio.Modeling
Assembly: Microsoft.VisualStudio.Modeling.Sdk.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.10.0.dll)
Syntax
'Declaração
Protected Overridable Sub OnValueChanging ( _
element As TElement, _
oldValue As TValue, _
newValue As TValue _
)
protected virtual void OnValueChanging(
TElement element,
TValue oldValue,
TValue newValue
)
protected:
virtual void OnValueChanging(
TElement element,
TValue oldValue,
TValue newValue
)
abstract OnValueChanging :
element:'TElement *
oldValue:'TValue *
newValue:'TValue -> unit
override OnValueChanging :
element:'TElement *
oldValue:'TValue *
newValue:'TValue -> unit
protected function OnValueChanging(
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.
.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.