SqlMoney.GreaterThan(SqlMoney, SqlMoney) Operator

Definition

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 operator >(System::Data::SqlTypes::SqlMoney x, System::Data::SqlTypes::SqlMoney y);
public static System.Data.SqlTypes.SqlBoolean operator > (System.Data.SqlTypes.SqlMoney x, System.Data.SqlTypes.SqlMoney y);
static member ( > ) : System.Data.SqlTypes.SqlMoney * System.Data.SqlTypes.SqlMoney -> System.Data.SqlTypes.SqlBoolean
Public Shared Operator > (x As SqlMoney, y As SqlMoney) As SqlBoolean

Parameters

x
SqlMoney

A SqlMoney structure.

y
SqlMoney

A SqlMoney structure.

Returns

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

Remarks

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

Applies to

See also