Redigera

Dela via


SqlDecimal.GreaterThan(SqlDecimal, SqlDecimal) Operator

Definition

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

Parameters

x
SqlDecimal

A SqlDecimal structure.

y
SqlDecimal

A SqlDecimal structure.

Returns

A SqlBoolean that is True if the first instance is less than the second instance. Otherwise, False. If either instance of SqlDecimal is null, the Value of the SqlBoolean will be Null.

Remarks

The equivalent method for this operator is SqlDecimal.GreaterThan(SqlDecimal, SqlDecimal).

Applies to

See also