SqlInt16.Subtraction(SqlInt16, SqlInt16) Operator

Definition

Subtracts the second SqlInt16 parameter from the first.

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

Parameters

x
SqlInt16

A SqlInt16 structure.

y
SqlInt16

A SqlInt16 structure.

Returns

A SqlInt16 structure whose Value property contains the results of the subtraction.

Remarks

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

Applies to

See also