SqlMoney.GreaterThan(SqlMoney, SqlMoney) SqlMoney.GreaterThan(SqlMoney, SqlMoney) SqlMoney.GreaterThan(SqlMoney, SqlMoney) SqlMoney.GreaterThan(SqlMoney, SqlMoney) Method

定义

对两个 SqlMoney 参数执行逻辑比较,以确定第一个参数是否大于第二个参数。Performs a logical comparison of the two SqlMoney parameters to determine whether the first is greater than the second.

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

参数

x
SqlMoney SqlMoney SqlMoney SqlMoney

一个 SqlMoney 结构。A SqlMoney structure.

y
SqlMoney SqlMoney SqlMoney SqlMoney

一个 SqlMoney 结构。A SqlMoney structure.

返回

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

适用于

另请参阅