SqlBoolean.GreaterThan(SqlBoolean, SqlBoolean) 方法
定义
对 SqlBoolean 的两个实例进行比较,以确定第一个实例是否大于第二个实例。Compares two instances of SqlBoolean to determine whether the first is greater than the second.
public:
static System::Data::SqlTypes::SqlBoolean GreaterThan(System::Data::SqlTypes::SqlBoolean x, System::Data::SqlTypes::SqlBoolean y);
public static System.Data.SqlTypes.SqlBoolean GreaterThan (System.Data.SqlTypes.SqlBoolean x, System.Data.SqlTypes.SqlBoolean y);
static member GreaterThan : System.Data.SqlTypes.SqlBoolean * System.Data.SqlTypes.SqlBoolean -> System.Data.SqlTypes.SqlBoolean
Public Shared Function GreaterThan (x As SqlBoolean, y As SqlBoolean) As SqlBoolean
参数
SqlBoolean 结构。A SqlBoolean structure.
SqlBoolean 结构。A SqlBoolean structure.
返回
如果第一个实例大于第二个实例,则返回 True;否则,返回 False。True if the first instance is greater than the second instance; otherwise, False.
注解
如果或的任一 x 实例 y 为 null,则的值 SqlBoolean 将为 null。If either instance of x or y is null, the value of the SqlBoolean will be null.