指定されたパラメーターの方向がサポートされるかどうかを示す Boolean の値を取得します。
名前空間: Microsoft.VisualStudio.Data.Framework
アセンブリ: Microsoft.VisualStudio.Data.Framework (Microsoft.VisualStudio.Data.Framework.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
パラメーター
- direction
型 : Microsoft.VisualStudio.Data.Services.SupportEntities.DataParameterDirection
DataParameterDirection の列挙型で定義されているパラメーターの方向。
戻り値
型 : System.Boolean
指定されたパラメーターの方向がサポートされている場合true ; それ以外 false。
解説
このメソッドは OnDirectionChanging のメソッドの基本実装によって呼び出されます。パラメーターの方向がパラメーターの現在の状態に対して有効であるかどうかを使用します。
継承時の注意
このメソッドの基本実装では、trueを返します。
.NET Framework セキュリティ
- 直前の呼び出し元に対する完全な信頼。このメンバーは、部分的に信頼されているコードから使用することはできません。詳細については、「部分信頼コードからのライブラリの使用」を参照してください。