SqlDecimal.LessThan(SqlDecimal, SqlDecimal) 方法

定义

对两个 SqlDecimal 结构执行逻辑比较,以确定第一个结构是否小于第二个结构。

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

参数

x
SqlDecimal

SqlDecimal 结构。

y
SqlDecimal

SqlDecimal 结构。

返回

一个 SqlBoolean,如果第一个实例小于第二个实例,则它为 True。 否则为 False。 如果 SqlDecimal 的任一实例为空,则 ValueSqlBoolean 将为 Null

适用于

另请参阅