SqlDataReader.IsCommandBehavior(CommandBehavior) メソッド

定義

指定した CommandBehaviorSqlDataReader の動作と一致するかどうかを判断します。

protected public:
 bool IsCommandBehavior(System::Data::CommandBehavior condition);
protected:
 bool IsCommandBehavior(System::Data::CommandBehavior condition);
protected internal bool IsCommandBehavior (System.Data.CommandBehavior condition);
protected bool IsCommandBehavior (System.Data.CommandBehavior condition);
member this.IsCommandBehavior : System.Data.CommandBehavior -> bool
Protected Friend Function IsCommandBehavior (condition As CommandBehavior) As Boolean
Protected Function IsCommandBehavior (condition As CommandBehavior) As Boolean

パラメーター

condition
CommandBehavior

CommandBehavior 列挙です。

戻り値

指定した CommandBehavior が true の場合は true。それ以外の場合は false

注釈

このメンバーは .NET Framework インフラストラクチャをサポートします。独自に作成したコードから直接使用するためのものではありません。

適用対象

こちらもご覧ください