DataParameter.OnValueChanging Method

Called when the Value property is about to change.

Namespace:  Microsoft.VisualStudio.Data.Framework
Assembly:  Microsoft.VisualStudio.Data.Framework (in Microsoft.VisualStudio.Data.Framework.dll)

Syntax

'Declaration
Protected Overridable Sub OnValueChanging ( _
    value As Object _
)
'Usage
Dim value As Object 

Me.OnValueChanging(value)
protected virtual void OnValueChanging(
    Object value
)
protected:
virtual void OnValueChanging(
    Object^ value
)
protected function OnValueChanging(
    value : Object
)

Parameters

Exceptions

Exception Condition
InvalidOperationException

The parameter direction is Out or ReturnValue while the value parameter is not nulla null reference (Nothing in Visual Basic).

ArgumentException

The type of the value parameter is not valid.

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

See Also

Reference

DataParameter Class

DataParameter Members

Microsoft.VisualStudio.Data.Framework Namespace

OnValueChanged