DataParameter.OnValueChanging Method
Called when the Value property is about to change.
Namespace: Microsoft.VisualStudio.Data
Assembly: Microsoft.VisualStudio.Data (in Microsoft.VisualStudio.Data.dll)
Syntax
'Declaration
Protected Overridable Sub OnValueChanging ( _
value As Object _
)
protected virtual void OnValueChanging(
Object value
)
protected:
virtual void OnValueChanging(
Object^ value
)
abstract OnValueChanging :
value:Object -> unit
override OnValueChanging :
value:Object -> unit
protected function OnValueChanging(
value : Object
)
Parameters
value
Type: System.ObjectThe value that the Value property will be set to.
Remarks
The base implementation of this method ensures that the parameter direction is not an Out or ReturnValue, unless the value is nulla null reference (Nothing in Visual Basic), and that the value is of a valid type.
.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.