DataParameter.OnDirectionChanged Method
Called when the Direction property is changed to signal a change in the parameter direction.
Namespace: Microsoft.VisualStudio.Data.Framework
Assembly: Microsoft.VisualStudio.Data.Framework (in Microsoft.VisualStudio.Data.Framework.dll)
Syntax
'Declaration
Protected Overridable Sub OnDirectionChanged
'Usage
Me.OnDirectionChanged()
protected virtual void OnDirectionChanged()
protected:
virtual void OnDirectionChanged()
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) (because the presence of parameter values for Out or ReturnValue parameters is not logical).
.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.