Share via


DataParameter.OnDirectionChanged Method

Called when the Direction property is changed to signal a change in the parameter direction.

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

Syntax

'Declaration
Protected Overridable Sub OnDirectionChanged
protected virtual void OnDirectionChanged()
protected:
virtual void OnDirectionChanged()
abstract OnDirectionChanged : unit -> unit 
override OnDirectionChanged : unit -> unit 
protected function OnDirectionChanged()

Remarks

The base implementation of this method tests whether the parameter direction, as defined in the DataParameterDirection enumeration, has been set to either Out or ReturnValue; and if so, sets the value of the parameter to nulla null reference (Nothing in Visual Basic) (since the presence of parameter values for Out or ReturnValue parameters is not logical).

.NET Framework Security

See Also

Reference

DataParameter Class

Microsoft.VisualStudio.Data Namespace