DataParameter.OnDirectionChanging Method
Called when the Direction property is about to change.
Namespace: Microsoft.VisualStudio.Data
Assembly: Microsoft.VisualStudio.Data (in Microsoft.VisualStudio.Data.dll)
Syntax
'Declaration
Protected Overridable Sub OnDirectionChanging ( _
value As DataParameterDirection _
)
protected virtual void OnDirectionChanging(
DataParameterDirection value
)
protected:
virtual void OnDirectionChanging(
DataParameterDirection value
)
abstract OnDirectionChanging :
value:DataParameterDirection -> unit
override OnDirectionChanging :
value:DataParameterDirection -> unit
protected function OnDirectionChanging(
value : DataParameterDirection
)
Parameters
- value
Type: Microsoft.VisualStudio.Data.DataParameterDirection
The value that the Direction property will be set to, from among those defined in the DataParameterDirection enumeration.
Remarks
The base implementation of this method ensures that the value is not equal to Unknown and calls the IsSupportedDirection method to test whether the parameter direction is supported.
.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.