DataParameter.IsSupportedDirection 方法

检索指示指定的参数方向是否的布尔值支持。

命名空间:  Microsoft.VisualStudio.Data
程序集:  Microsoft.VisualStudio.Data(在 Microsoft.VisualStudio.Data.dll 中)

语法

声明
Protected Overridable Function IsSupportedDirection ( _
    direction As DataParameterDirection _
) As Boolean
protected virtual bool IsSupportedDirection(
    DataParameterDirection direction
)
protected:
virtual bool IsSupportedDirection(
    DataParameterDirection direction
)
abstract IsSupportedDirection : 
        direction:DataParameterDirection -> bool 
override IsSupportedDirection : 
        direction:DataParameterDirection -> bool 
protected function IsSupportedDirection(
    direction : DataParameterDirection
) : boolean

参数

返回值

类型:System.Boolean
因此,如果指定的参数方向支持,返回 true ;否则返回 false。

备注

此方法由 OnDirectionChanging 方案的基实现。用于确定参数方向是否为参数的当前状态是有效的。

此方法的基实现返回 true。

.NET Framework 安全性

请参见

参考

DataParameter 类

Microsoft.VisualStudio.Data 命名空间