SqlCeDataReader.IsCommandBehavior 方法
确定指定的 CommandBehavior 是否匹配此 SqlCeDataReader。
命名空间: System.Data.SqlServerCe
程序集: System.Data.SqlServerCe(在 System.Data.SqlServerCe.dll 中)
语法
声明
Protected Function IsCommandBehavior ( _
condition As CommandBehavior _
) As Boolean
用法
Dim condition As CommandBehavior
Dim returnValue As Boolean
returnValue = Me.IsCommandBehavior(condition)
protected bool IsCommandBehavior(
CommandBehavior condition
)
protected:
bool IsCommandBehavior(
CommandBehavior condition
)
member IsCommandBehavior :
condition:CommandBehavior -> bool
protected function IsCommandBehavior(
condition : CommandBehavior
) : boolean
参数
- condition
类型:System.Data.CommandBehavior
命令行为。
返回值
类型:System.Boolean
如果行为匹配,则为 true;否则为 false。