SqlDecimal.GreaterThan(SqlDecimal, SqlDecimal) SqlDecimal.GreaterThan(SqlDecimal, SqlDecimal) SqlDecimal.GreaterThan(SqlDecimal, SqlDecimal) SqlDecimal.GreaterThan(SqlDecimal, SqlDecimal) Operator

定义

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

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

参数

返回

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

注解

此运算符的等效方法为SqlDecimal.GreaterThan(SqlDecimal, SqlDecimal)The equivalent method for this operator is SqlDecimal.GreaterThan(SqlDecimal, SqlDecimal).

适用于

另请参阅