SqlInt16.GreaterThan(SqlInt16, SqlInt16) Operator

Definition

Compares two instances of SqlInt16 to determine whether the first is greater than the second.

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

Parameters

x
SqlInt16

A SqlInt16 structure.

y
SqlInt16

A SqlInt16 structure.

Returns

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

Remarks

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

Applies to

See also