SqlInt32.LessThan(SqlInt32, SqlInt32) 方法

定义

对两个 SqlInt32 参数进行比较,以确定第一个参数是否小于第二个参数。Compares the two SqlInt32 parameters to determine whether the first is less than the second.

public:
 static System::Data::SqlTypes::SqlBoolean LessThan(System::Data::SqlTypes::SqlInt32 x, System::Data::SqlTypes::SqlInt32 y);
public static System.Data.SqlTypes.SqlBoolean LessThan (System.Data.SqlTypes.SqlInt32 x, System.Data.SqlTypes.SqlInt32 y);
static member LessThan : System.Data.SqlTypes.SqlInt32 * System.Data.SqlTypes.SqlInt32 -> System.Data.SqlTypes.SqlBoolean
Public Shared Function LessThan (x As SqlInt32, y As SqlInt32) As SqlBoolean

参数

x
SqlInt32

SqlInt32 结构。A SqlInt32 structure.

y
SqlInt32

SqlInt32 结构。A SqlInt32 structure.

返回

一个 SqlBoolean,如果第一个实例小于第二个实例,则它为 TrueA SqlBoolean that is True if the first instance is less than the second instance. 否则为 FalseOtherwise, False. 如果 SqlInt32 的任一实例为空,则 ValueSqlBoolean 将为 NullIf either instance of SqlInt32 is null, the Value of the SqlBoolean will be Null.

适用于

另请参阅