次の方法で共有


DataParameter.OnDirectionChanging Method

Called when the Direction property is about to change.

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

Syntax

'宣言
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

Exceptions

Exception Condition
ArgumentException

The parameter direction is Unknown or is not supported.

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

See Also

Reference

DataParameter Class

Microsoft.VisualStudio.Data.Framework Namespace