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 名前空間